New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

hot-reload

Package Overview
Dependencies
Maintainers
3
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hot-reload - npm Package Compare versions

Comparing version 1.3.2 to 1.4.0-beta

1

default-config.json

@@ -9,2 +9,3 @@ {

"logging-enabled": true,
"restart": true,
"plugins": {

@@ -11,0 +12,0 @@ "hot-reload-module-uncache": {

13

lib/cli/index.js

@@ -13,10 +13,5 @@ var nodePath = require('path');

function usage() {
console.log('Usage: hot-reload <main> [args]');
}
if (process.argv.length < 3) {
usage();
console.error('main argument is required.');
process.exit(1);
}
// function usage() {
// console.log('Usage: hot-reload [<main> [..args]]');
// }

@@ -55,3 +50,3 @@ try {

var pkg = require(nodePath.join(process.cwd(), 'package.json'));
pkg = pkg.main || 'index.js';
main = pkg.main || 'index.js';
}

@@ -58,0 +53,0 @@

{
"name": "hot-reload",
"description": "Triggers reloading of Node.js modules",
"version": "1.3.2",
"version": "1.4.0-beta",
"homepage": "https://github.com/philidem/node-hot-reload",

@@ -6,0 +6,0 @@ "authors": [

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc