Add FileSystemWatcher to Watcherlist

This commit is contained in:
Hongtao Zhang 2022-02-23 18:19:34 -06:00
parent 80eb0e4943
commit ef4bb121f9

View file

@ -609,6 +609,8 @@ namespace Flow.Launcher.Plugin.Program.Programs
watcher.Deleted += static (_, _) => indexQueue.Writer.TryWrite(default);
watcher.EnableRaisingEvents = true;
watcher.IncludeSubdirectories = true;
Watchers.Add(watcher);
}
public static void Dispose()