mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-31 02:08:03 +01:00
diagnosing Watcher exception in Action test runs
This commit is contained in:
@@ -116,13 +116,12 @@ namespace Terminal.Gui {
|
||||
|
||||
void Watcher_Error (object sender, ErrorEventArgs e)
|
||||
{
|
||||
Debug.WriteLine ($"Watcher error: {e.GetException ()}");
|
||||
Application.MainLoop.Invoke (() => Reload ());
|
||||
Application.MainLoop?.Invoke (() => Reload ());
|
||||
}
|
||||
|
||||
void Watcher_Changed (object sender, FileSystemEventArgs e)
|
||||
{
|
||||
Application.MainLoop.Invoke (() => Reload ());
|
||||
Application.MainLoop?.Invoke (() => Reload ());
|
||||
}
|
||||
|
||||
ustring directory;
|
||||
|
||||
Reference in New Issue
Block a user