mirror of
https://github.com/status-im/metro.git
synced 2025-02-10 10:07:12 +00:00
[ReactNative] Add option to file watcher to ignore node_modules
This commit is contained in:
parent
ea9ca4637c
commit
fddc50b98b
1
react-packager/src/FileWatcher/index.js
vendored
1
react-packager/src/FileWatcher/index.js
vendored
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user