diff --git a/watcher.go b/watcher.go index 57969f2..7aeae50 100644 --- a/watcher.go +++ b/watcher.go @@ -600,7 +600,7 @@ func (w *Watcher) pollEvents(files map[string]os.FileInfo, evt chan Event, select { case <-cancel: return - case evt <- Event{Remove, "", path, info}: + case evt <- Event{Remove, path, path, info}: } } }