mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-22 17:48:01 +02:00
Linux fix
This commit is contained in:
parent
95c876570f
commit
49b124e291
2 changed files with 7 additions and 0 deletions
|
@ -186,6 +186,7 @@ namespace IDE
|
|||
AddFromLibraryPath(absPath);
|
||||
absPath.Append(Path.DirectorySeparatorChar);
|
||||
|
||||
#if !CLI
|
||||
FileSystemWatcher watcher = new FileSystemWatcher(absPath);
|
||||
watcher.OnChanged.Add(new (fileName) => LibsChanged());
|
||||
watcher.OnCreated.Add(new (fileName) => LibsChanged());
|
||||
|
@ -194,6 +195,7 @@ namespace IDE
|
|||
watcher.OnError.Add(new () => LibsChanged());
|
||||
watcher.StartRaisingEvents();
|
||||
mWatchers.Add(watcher);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue