From 7537b4954747cb4791032fdf944c97224a565bb0 Mon Sep 17 00:00:00 2001 From: Wes Date: Tue, 1 Oct 2024 15:13:35 -0700 Subject: [PATCH] fix: rebuild dependent modules when new module detected (#2929) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes #2899 ![Screenshot 2024-10-01 at 12 33 12 PM](https://github.com/user-attachments/assets/1b8caaae-47c1-478d-86d2-9280dfbf10f8) --- 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)