make watcher channels synchronous
1 file changed, 2 insertions(+), 2 deletions(-)
changed files
M watcher/watcher.go → watcher/watcher.go
@@ -65,8 +65,8 @@ return w.watcher.Remove(pathname) } func (w *FSWatcher) Monitor() (<-chan Event, <-chan error) { - events := make(chan Event, 1) - errors := make(chan error, 1) + events := make(chan Event) + errors := make(chan error) go func() { for {