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:
parent
5a2e2b1f3f
commit
6c27885702
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue