Skip to content

Commit

Permalink
Fix reload for preview apps
Browse files Browse the repository at this point in the history
  • Loading branch information
akclace committed Mar 16, 2024
1 parent 6b02824 commit 65bfbef
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/server/app_apis.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit 65bfbef

Please sign in to comment.