Comparing version 1.0.2-rc3 to 1.0.2-rc4
@@ -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/" | ||
] | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
88
119007
1710