From 9563a953b44b506571763d067e67b528aee37712 Mon Sep 17 00:00:00 2001 From: "alexander.akait" Date: Tue, 12 Mar 2024 16:18:58 +0300 Subject: [PATCH] fix: logic --- lib/DirectoryWatcher.js | 1 + 1 file changed, 1 insertion(+) 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) ) {