From c8a8431158f07b75adc1fd86b344790075b9cf7a Mon Sep 17 00:00:00 2001 From: RanXom Date: Fri, 17 Jul 2026 10:33:58 +0530 Subject: refactor(watcher): buffer debounce notifications --- internal/watcher/watcher.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal') diff --git a/internal/watcher/watcher.go b/internal/watcher/watcher.go index ee16b7b..303eced 100644 --- a/internal/watcher/watcher.go +++ b/internal/watcher/watcher.go @@ -15,6 +15,6 @@ func New(config Config) *Watcher { return &Watcher{ config: config, - debounce: make(chan struct{}), + debounce: make(chan struct{}, 1), } } -- cgit v1.2.3