[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 4fc15dbf17
commit 21b3304a95
2 changed files with 2 additions and 1 deletions

View File

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