mirror of
https://github.com/facundoolano/jorge.git
synced 2024-12-25 21:58:28 +01:00
fix comment
This commit is contained in:
parent
b15405f05c
commit
b17dc2ad68
1 changed files with 1 additions and 2 deletions
|
@ -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
|
// 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
|
// 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) {
|
if _, err := os.Stat(event.Name); errors.Is(err, os.ErrNotExist) {
|
||||||
// path/to/whatever does not exist
|
// FIXME change to log debug
|
||||||
// FIXME change for debug
|
|
||||||
fmt.Println("ignoring temporary file", event.Name)
|
fmt.Println("ignoring temporary file", event.Name)
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue