From build
Starts, restarts, and monitors a project dev server on a specific or discovered port with automatic recovery on failure.
How this skill is triggered — by the user, by Claude, or both
Slash command
/build:build-dev-serverThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Start the dev server for the current project and keep it running. Run commands in the current working directory.
Start the dev server for the current project and keep it running. Run commands in the current working directory.
If the user provided a port, use it. Otherwise inspect project config such as vite.config.ts, app.config.ts, .env, package.json, justfile, or similar.
Always use the determined port. If occupied, kill the existing process instead of switching ports:
lsof -ti :<port> | xargs kill -9 2>/dev/null || true
Discover the command from justfile, package.json, Makefile, or equivalent. Common commands:
just devpnpm devnpm run devmake devRun prerequisite builds first if the project needs them.
Start the server in a persistent background process or terminal session with PORT=<port> when the project honors that variable. Retain the process or session identifier so its output and state remain observable after startup.
Poll:
for i in $(seq 1 30); do curl -sf http://localhost:<port>/ >/dev/null 2>&1 && echo ready && break; sleep 1; done
Report http://localhost:<port>/.
After the server is ready, use the available recurring-monitoring or wait mechanism to check the same URL about once per minute. Keep monitoring until the user asks to stop or the surrounding task ends.
For each check:
Do not silently switch ports during recovery. If restart repeatedly fails, report the relevant output and stop retrying blindly.
npx claudepluginhub motlin/claude-code-plugins --plugin buildSets up a dev server that auto-rotates to the next free port instead of killing the process on the preferred port. Ships a port-probe helper and launcher template.
Starts Node.js dev server for E2E testing. Detects package manager, installs deps if missing, runs customizable dev command in background, verifies startup on port 5173.
Kill all running local development processes (worker, edge functions, dev server), wait for termination, then restart them. Dev server runs on port 8080. Use when user says "boot local", "restart local", "reboot dev", or needs to refresh local services.