Skip to content

A self-hosted dashboard that puts all your feeds in one place

Add clarifying comment

Sergio Rubio76a80ff034a4
diff --git a/internal/glance/config.go b/internal/glance/config.go
index 88479dc..875ce4f 100644
--- a/internal/glance/config.go
+++ b/internal/glance/config.go
@@ -295,6 +295,9 @@ func configFilesWatcher(
}
time.Sleep(100 * time.Millisecond)
}
+ // fsnotify removes the file from the watch list on rename events,
+ // add it back.
+ // See https://github.com/fsnotify/fsnotify/issues/214
err := watcher.Add(mainFileAbsPath)
if err != nil {
onErr(fmt.Errorf("watching file:", err))