local-dev-server
SKILL.md
Local Dev Server
When to Use
- Starting/stopping dev server
- "Address already in use" errors
- Infinite loading spinner / broken pages after build
.nextcache corruption (vendor-chunks ENOENT, 404 on static chunks)- Server crashes and needs restart
- After major code changes or branch switches
Standard Start (Clean)
Always prefer a clean start to avoid stale cache issues:
# 1. Kill any existing process on port 3030
lsof -ti:3030 | xargs kill -9 2>/dev/null