fix comment

This commit is contained in:
facundoolano 2024-02-15 20:33:19 -03:00
parent b15405f05c
commit b17dc2ad68

View file

@ -83,8 +83,7 @@ func setupWatcher() (*fsnotify.Watcher, error) {
// some events can be received for temporary files, e.g. .#backup files generated by emacs while editing .org
// when events regarding such files arrive, discard them here instead of triggering a faulty rebuild
if _, err := os.Stat(event.Name); errors.Is(err, os.ErrNotExist) {
// path/to/whatever does not exist
// FIXME change for debug
// FIXME change to log debug
fmt.Println("ignoring temporary file", event.Name)
continue
}