Update FolderWatcher to singleton

This commit is contained in:
advplyr committed 2024-11-07 16:32:05 -06:00
1 parent a8ec07cfc9
commit a5ebd89817
6 files changed
+17 -19

No files matched your search

+1 -1
View File
@@ -409,4 +409,4 @@ class FolderWatcher extends EventEmitter {
}, 5000)
}
}
module.exports = FolderWatcher
module.exports = new FolderWatcher()