Use more generic fsnotify.Watcher instead of inotify.Watcher