mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-24 04:16:00 +08:00
[ReactNative] Add option to file watcher to ignore node_modules
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user