feat: force port 3000 to make Next.js abort startup on multiple instances clashing on same port
This commit is contained in:
committed by
Michael Zetterberg
parent
7dc07c256c
commit
b738023a43
@@ -7,7 +7,7 @@
|
||||
"prebuild": "npm run lint",
|
||||
"build": "next build",
|
||||
"predev": "rm -rf .next",
|
||||
"dev": "next dev",
|
||||
"dev": "PORT=3000 NEXT_PUBLIC_PORT=3000 next dev",
|
||||
"prelint": "rm -rf .next",
|
||||
"lint": "next lint --max-warnings 0 && tsc",
|
||||
"prelint:fix": "rm -rf .next",
|
||||
|
||||
Reference in New Issue
Block a user