diff --git a/internal/fsnotifyext/fsnotify_dedup.go b/internal/fsnotifyext/fsnotify_dedup.go index 3c26be66..384ef42b 100644 --- a/internal/fsnotifyext/fsnotify_dedup.go +++ b/internal/fsnotifyext/fsnotify_dedup.go @@ -19,7 +19,7 @@ func NewDeduper(w *fsnotify.Watcher, waitTime time.Duration) *Deduper { } } -func (d *Deduper) GetChan() chan fsnotify.Event { +func (d *Deduper) GetChan() <-chan fsnotify.Event { channel := make(chan fsnotify.Event) go func() {