Skip to content

Conversation

@Code-Victor
Copy link
Collaborator

Fix: Ensure Preview Server Shuts Down on Project Close

Closes #53

Summary:
This PR addresses a bug where the preview server continued running after a project was closed. The fix ensures that all dev/preview servers are properly terminated when the project is closed, preventing orphaned processes and potential port conflicts.

Changes:

  • Added logic to track and kill dev/preview servers on project close.
  • Updated scripts to enforce correct execution order and dependency handling.

Testing:

  • Verified that closing a project now reliably stops all related servers.
  • Confirmed no lingering processes remain after project closure.

@vercel
Copy link

vercel bot commented Jan 22, 2026

@Code-Victor is attempting to deploy a commit to the jamesmurdza's projects Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Preview] Preview server stays running after project is closed

1 participant