aboutsummaryrefslogtreecommitdiff
path: root/node_modules/webpack/lib/node/NodeWatchFileSystem.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/webpack/lib/node/NodeWatchFileSystem.js')
-rw-r--r--node_modules/webpack/lib/node/NodeWatchFileSystem.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/node_modules/webpack/lib/node/NodeWatchFileSystem.js b/node_modules/webpack/lib/node/NodeWatchFileSystem.js
index a4ff6c6b5..1c13a9b29 100644
--- a/node_modules/webpack/lib/node/NodeWatchFileSystem.js
+++ b/node_modules/webpack/lib/node/NodeWatchFileSystem.js
@@ -48,7 +48,7 @@ class NodeWatchFileSystem {
changes.filter(file => missing.indexOf(file) >= 0).sort(), times, times);
});
- this.watcher.watch(files.concat(missing), dirs, startTime);
+ this.watcher.watch(files.concat(missing), dirs.concat(missing), startTime);
if(oldWatcher) {
oldWatcher.close();