[ReactNative] Add option to file watcher to ignore node_modules

This commit is contained in:
Tadeu Zagallo 2015-05-28 00:47:37 -07:00
parent ea9ca4637c
commit fddc50b98b
1 changed files with 1 additions and 0 deletions

View File

@ -67,6 +67,7 @@ function createWatcher(rootConfig) {
var watcher = new Watcher(rootConfig.dir, { var watcher = new Watcher(rootConfig.dir, {
glob: rootConfig.globs, glob: rootConfig.globs,
dot: false, dot: false,
ignore: 'node_modules',
}); });
return new Promise(function(resolve, reject) { return new Promise(function(resolve, reject) {