diff --git a/pkg/compose/watch.go b/pkg/compose/watch.go index ae3ddf797c5..fc501a330a9 100644 --- a/pkg/compose/watch.go +++ b/pkg/compose/watch.go @@ -371,7 +371,10 @@ func batchDebounceEvents(ctx context.Context, clock clockwork.Clock, delay time. flushEvents() return } - seen[e.HostPath] = e + if _, ok := seen[e.HostPath]; !ok { + // already know updated path, first rule in watch configuration wins + seen[e.HostPath] = e + } t.Reset(delay) } }