diff --git a/watch/filechanges.go b/watch/filechanges.go index 3ce5dce..f80aead 100644 --- a/watch/filechanges.go +++ b/watch/filechanges.go @@ -8,7 +8,7 @@ type FileChanges struct { func NewFileChanges() *FileChanges { return &FileChanges{ - make(chan bool), make(chan bool), make(chan bool)} + make(chan bool, 1), make(chan bool, 1), make(chan bool, 1)} } func (fc *FileChanges) NotifyModified() {