From b17dc2ad6831f16beb1182fb179d26d393c133c0 Mon Sep 17 00:00:00 2001 From: facundoolano Date: Thu, 15 Feb 2024 20:33:19 -0300 Subject: [PATCH] fix comment --- commands/serve.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/commands/serve.go b/commands/serve.go index 2c2151d..26b7606 100644 --- a/commands/serve.go +++ b/commands/serve.go @@ -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 }