diff options
Diffstat (limited to 'pkg/gui/file_watching.go')
-rw-r--r-- | pkg/gui/file_watching.go | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/pkg/gui/file_watching.go b/pkg/gui/file_watching.go index 47d426c87..7e5e20a76 100644 --- a/pkg/gui/file_watching.go +++ b/pkg/gui/file_watching.go @@ -132,12 +132,7 @@ func (gui *Gui) watchFilesForChanges() { } // only refresh if we're not already if !gui.State.IsRefreshingFiles { - if err := gui.refreshFiles(); err != nil { - err = gui.createErrorPanel(gui.g, err.Error()) - if err != nil { - gui.Log.Error(err) - } - } + gui.refreshSidePanels(refreshOptions{mode: ASYNC, scope: []int{FILES}}) } // watch for errors |