diff options
Diffstat (limited to 'pkg/gui/file_watching.go')
-rw-r--r-- | pkg/gui/file_watching.go | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pkg/gui/file_watching.go b/pkg/gui/file_watching.go index 3a9532116..47d426c87 100644 --- a/pkg/gui/file_watching.go +++ b/pkg/gui/file_watching.go @@ -23,11 +23,13 @@ type fileWatcher struct { } func NewFileWatcher(log *logrus.Entry) *fileWatcher { - watcher, err := fsnotify.NewWatcher() - log.Error(err) + // TODO: get this going again, and ensure we don't see any crashes from it return &fileWatcher{ Disabled: true, } + + watcher, err := fsnotify.NewWatcher() + if err != nil { log.Error(err) return &fileWatcher{ |