Update FolderWatcher to singleton

This commit is contained in:
advplyr
2024-11-07 16:32:05 -06:00
parent a8ec07cfc9
commit a5ebd89817
6 changed files with 17 additions and 19 deletions
+1 -1
View File
@@ -409,4 +409,4 @@ class FolderWatcher extends EventEmitter {
}, 5000)
}
}
module.exports = FolderWatcher
module.exports = new FolderWatcher()