file_manager: send "root_update" notification for all registered directories

This includes non mutable directories such as "config_examples" and "docs".

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
Arksine authored and Eric Callahan committed 2021-05-18 19:12:54 -04:00
1 parent 5a2e2b1f3f
commit 6c27885702
1 file changed
+4
+4
View File
@@ -131,6 +131,10 @@ class FileManager:
if root in FULL_ACCESS_ROOTS:
# Refresh the file list and add watches
self.inotify_handler.add_root_watch(root, path)
else:
IOLoop.current().spawn_callback(
self.inotify_handler.notify_filelist_changed,
"root_update", root, path)
return True
def get_sd_directory(self):