diff --git a/lib/DirectoryWatcher.js b/lib/DirectoryWatcher.js index abbb142..034447d 100644 --- a/lib/DirectoryWatcher.js +++ b/lib/DirectoryWatcher.js @@ -362,6 +362,7 @@ class DirectoryWatcher extends EventEmitter { }); } } else if ( + filePath !== this.path && !this.directories.has(filePath) && watcher.checkStartTime(this.initialScanFinished, false) ) {