Fix:Scanner smart re-order

This commit is contained in:
advplyr 2022-01-10 11:12:47 -06:00
parent 411183e4b4
commit e5f8be5b24
3 changed files with 59 additions and 36 deletions

View file

@ -120,6 +120,7 @@ class FolderWatcher extends EventEmitter {
onRename(libraryId, pathFrom, pathTo) {
Logger.debug(`[Watcher] Rename ${pathFrom} => ${pathTo}`)
this.addFileUpdate(libraryId, pathFrom, 'renamed')
this.addFileUpdate(libraryId, pathTo, 'renamed')
}