summaryrefslogtreecommitdiff
path: root/watch.go
diff options
context:
space:
mode:
Diffstat (limited to 'watch.go')
-rw-r--r--watch.go2
1 files changed, 1 insertions, 1 deletions
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