Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

nodemon

Package Overview
Dependencies
Maintainers
1
Versions
256
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nodemon - npm Package Compare versions

Comparing version 1.0.2-rc3 to 1.0.2-rc4

doc/cli/usage.txt

3

lib/config/defaults.js

@@ -10,6 +10,5 @@ // default options for config.options

},
watch: [],
ignore: ['.git', 'node_modules/**/node_modules'],
monitor: ['!.git', '!node_modules/**/node_modules'],
stdin: true,
verbose: false
};

@@ -61,3 +61,2 @@ 'use strict';

if (options.execOptions.ext) {
// rules.watch.add(new RegExp(options.execOptions.ext));
options.execOptions.ext.split(',').forEach(function (ext) {

@@ -71,10 +70,2 @@ options.monitor.push('*' + ext);

// read directories to monitor
// options.watch.forEach(function (dir) {
// dir = path.resolve(dir);
// if (existsSync(dir)) {
// config.dirs.push(path.resolve(dir));
// }
// });
if (config.dirs.length === 0) {

@@ -81,0 +72,0 @@ config.dirs.unshift(process.cwd());

@@ -42,6 +42,14 @@ 'use strict';

// always echo out the current version
utils.log.info(version);
config.load(settings, function (config) {
if (!config.options.script) {
if (!config.required) {
console.log(help('usage'));
process.exit();
}
return;
}
config.load(settings, function (config) {
// always echo out the current version
utils.log.info(version);
// echo out notices about running state

@@ -101,3 +109,3 @@ if (config.options.restartable) {

return rule.slice(0, 1) !== '!' ? rule : false;
}).join(' '));
}).filter(none).join(' '));

@@ -104,0 +112,0 @@ utils.log.detail('watching extensions: ' + config.options.ext);

@@ -47,5 +47,3 @@ 'use strict';

// rule = ':' + rule.toString().replace(/^\/(.*?)\/$/g, '$1');
utils.log.error('RegExp format no longer supported, but globs are.');
console.log(rule);
return;

@@ -52,0 +50,0 @@ }

@@ -24,3 +24,3 @@ {

],
"version": "1.0.2-rc3",
"version": "1.0.2-rc4",
"preferGlobal": "true",

@@ -27,0 +27,0 @@ "licenses": [

{
"ignore": [
":ignore": [
".git",

@@ -11,5 +11,5 @@ "node_modules/*",

":verbose": true,
"watch": [
":watch": [
"app/server/", "app/shared/", "config/", "views/server/*.coffee", "views/shared/"
]
}
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