mirror of https://github.com/webpack/webpack.git
missing dependencies could be files too
This commit is contained in:
parent
d3120220e1
commit
e72c3b22c8
|
|
@ -48,7 +48,7 @@ class NodeWatchFileSystem {
|
||||||
changes.filter(file => missing.indexOf(file) >= 0).sort(), times, times);
|
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) {
|
if(oldWatcher) {
|
||||||
oldWatcher.close();
|
oldWatcher.close();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue