mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Add FileSystemWatcher to Watcherlist
This commit is contained in:
parent
80eb0e4943
commit
ef4bb121f9
1 changed files with 2 additions and 0 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Reference in a new issue