mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32:20 +02:00
Soft fail on watchers
This commit is contained in:
parent
7c6bdeffbe
commit
11b43b0d1c
1 changed files with 2 additions and 2 deletions
|
@ -114,7 +114,7 @@ namespace IDE
|
|||
configFile.mFilePath = new String(path);
|
||||
|
||||
configFile.mConfigDir = new String();
|
||||
Path.GetDirectoryPath(configFile.mFilePath, configFile.mConfigDir);
|
||||
Path.GetDirectoryPath(configFile.mFilePath, configFile.mConfigDir).IgnoreError();
|
||||
|
||||
for (let projName in data.Enumerate("Registry"))
|
||||
{
|
||||
|
@ -191,7 +191,7 @@ namespace IDE
|
|||
watcher.OnDeleted.Add(new (fileName) => LibsChanged());
|
||||
watcher.OnRenamed.Add(new (newName, oldName) => LibsChanged());
|
||||
watcher.OnError.Add(new () => LibsChanged());
|
||||
watcher.StartRaisingEvents();
|
||||
watcher.StartRaisingEvents().IgnoreError();
|
||||
mWatchers.Add(watcher);
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue