Free Vite/SSR ports and clear stale pidfile in conductor run script#7
Merged
Conversation
Why: starting bin/dev would frequently fail because port 3036 (Vite) or 13714 (SSR) was still bound from a previous run, or because a stale tmp/pids/server.pid blocked Rails from booting. Killing only :3000 left those failure modes intact. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
runscript inconductor.jsonto also free ports 3036 (Vite) and 13714 (SSR) in addition to 3000, and to remove a staletmp/pids/server.pidbefore bootingbin/dev. Previously, only port 3000 was killed, so a leftover Vite/SSR process or pidfile from a prior workspace run would blockbin/devfrom starting cleanly.Test plan
bin/devboots even with stale Vite/SSR processes or a leftover server.pid.🤖 Generated with Claude Code