From 65bfbef10d594f90d56a89b1f99705e64dbffa21 Mon Sep 17 00:00:00 2001 From: Ajay Kidave Date: Sat, 16 Mar 2024 15:23:33 -0700 Subject: [PATCH] Fix reload for preview apps --- internal/server/app_apis.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/server/app_apis.go b/internal/server/app_apis.go index 613814d..359d04b 100644 --- a/internal/server/app_apis.go +++ b/internal/server/app_apis.go @@ -878,5 +878,6 @@ func (s *Server) PreviewApp(ctx context.Context, mainAppPath, commitId string, a return nil, err } + s.apps.ClearAllAppCache() // Clear the cache so that the new app is loaded next time return ret, nil }