diff --git a/src/Models/Watcher.cs b/src/Models/Watcher.cs index e8d6cfc0..27bb36a3 100644 --- a/src/Models/Watcher.cs +++ b/src/Models/Watcher.cs @@ -44,7 +44,10 @@ namespace SourceGit.Models { /// /// public static void Open(Repository repo) { - if (all.ContainsKey(repo.Path)) return; + if (all.ContainsKey(repo.Path)) { + Opened?.Invoke(repo); + return; + } var watcher = new Watcher(); watcher.Start(repo.Path, repo.GitDir);