From 807796ad35b48c58f61f6c058e12ec10078fd0e3 Mon Sep 17 00:00:00 2001 From: Philipp Tanlak Date: Wed, 16 Aug 2023 18:25:04 +0200 Subject: create cli --- watch.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'watch.go') diff --git a/watch.go b/watch.go index 864557b..1f62acb 100644 --- a/watch.go +++ b/watch.go @@ -43,7 +43,7 @@ func Watch(path string, fn func(string) error) error { return nil } if event.Has(fsnotify.Remove) { - return nil + continue } if event.Has(fsnotify.Chmod) { continue -- cgit v1.2.3