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 }