mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-12-02 13:14:07 +01:00
Update FolderWatcher to singleton
This commit is contained in:
1 parent
a8ec07cfc9
commit
a5ebd89817
6 files changed
+17
-19
No files matched your search
+1
-1
@@ -409,4 +409,4 @@ class FolderWatcher extends EventEmitter {
|
||||
}, 5000)
|
||||
}
|
||||
}
|
||||
module.exports = FolderWatcher
|
||||
module.exports = new FolderWatcher()
|
||||
Reference in new issue
Block a user