Skip to content

Commit ffedcac

Browse files
authored
Merge pull request #76 from philippeauriach/use-node-env-json-ignore
Use .node-dev.json `ignore` prop
2 parents a6c28d0 + 5e4917e commit ffedcac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/cfg.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ module.exports = function (main, opts) {
2929
if (opts.notify === false) c.notify = false;
3030
}
3131

32-
var ignoreWatch = ([]).concat(opts && opts['ignore-watch'] || []);
32+
var ignoreWatch = ([]).concat(opts && opts['ignore-watch'] || []).concat(c.ignore || []);
3333
ignoreWatch.length && console.log('Ignore watch:', ignoreWatch)
3434
var ignore = ignoreWatch.concat(ignoreWatch.map(resolvePath));
3535
return {

0 commit comments

Comments
 (0)