restore behavior where watched directories get scanned on startup

This commit is contained in:
Zlatin Balevsky
2019-11-02 00:27:12 +00:00
parent 0dae0a561b
commit 094b9ac2b0
2 changed files with 3 additions and 1 deletions

View File

@@ -255,7 +255,7 @@ class MainFrameModel {
void onAllFilesLoadedEvent(AllFilesLoadedEvent e) {
runInsideUIAsync {
core.muOptions.watchedDirectories.each { core.eventBus.publish(new DirectoryWatchedEvent(directory : new File(it))) }
core.muOptions.watchedDirectories.each { core.eventBus.publish(new FileSharedEvent(file : new File(it))) }
core.muOptions.trustSubscriptions.each {
core.eventBus.publish(new TrustSubscriptionEvent(persona : it, subscribe : true))