fix: retain pending folder files across pause

This commit is contained in:
Sucukdeluxe
2026-08-26 09:31:52 +02:00
parent 724280b0cf
commit d16823acbc
2 changed files with 32 additions and 0 deletions
+3
View File
@@ -188,6 +188,9 @@ class FolderMonitor extends EventEmitter {
_invalidateLifecycle(paused) {
this._generation++;
if (paused) {
for (const filePath of this._batchBuffer) this._seenFiles.delete(this._normalizePath(filePath));
}
this._paused = paused;
this._scanning = false;
this._followUpRequested = false;