mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-08-02 17:24:57 +02:00
Update FolderWatcher to singleton
This commit is contained in:
parent
a8ec07cfc9
commit
a5ebd89817
6 changed files with 17 additions and 19 deletions
|
@ -409,4 +409,4 @@ class FolderWatcher extends EventEmitter {
|
|||
}, 5000)
|
||||
}
|
||||
}
|
||||
module.exports = FolderWatcher
|
||||
module.exports = new FolderWatcher()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue