chore(WEB): 빌드 시 서버 자동 재시작 스크립트 추가

- build:restart 스크립트 추가
- 포트 3000 서버 종료 → 빌드 → 성공 시 서버 자동 시작

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
byeongcheolryu
2026-01-07 20:15:57 +09:00
parent 0d4e6ee7ea
commit 8812290f8a

View File

@@ -5,6 +5,7 @@
"scripts": {
"dev": "next dev",
"build": "next build",
"build:restart": "lsof -ti:3000 | xargs kill 2>/dev/null; next build && next start &",
"start": "next start",
"lint": "eslint",
"test:e2e": "playwright test",