diff --git a/watcher.go b/watcher.go index 2eae630..cd517ff 100644 --- a/watcher.go +++ b/watcher.go @@ -150,7 +150,7 @@ func (s *server) watch(inotifyFd int) { conns := connsForPath[path] if conns == nil { // watcher has been already deregistered - return + continue } for idx, c := range conns { if c.fd == fd {