diff --git a/internal/buildengine/engine.go b/internal/buildengine/engine.go index 3924bb7c98..398403c993 100644 --- a/internal/buildengine/engine.go +++ b/internal/buildengine/engine.go @@ -531,7 +531,7 @@ func (e *Engine) watchForModuleChanges(ctx context.Context, period time.Duration } existingHash, ok := moduleHashes[change.Name] if !ok { - continue + existingHash = []byte{} } hash, err := computeModuleHash(change.Module)