From ca6b72dfa02c075e8707c8057f1c967b906862df Mon Sep 17 00:00:00 2001 From: Wes Date: Tue, 1 Oct 2024 12:33:43 -0700 Subject: [PATCH] fix: rebuild dependent modules when new module detected --- internal/buildengine/engine.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)