fix(web): change port to 3007, add auto port cleanup, graceful error handling
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "concurrently \"npm run dev:server\" \"npm run dev:client\"",
|
||||
"predev:server": "npx kill-port 3007",
|
||||
"dev:server": "tsx watch server/index.ts",
|
||||
"dev:client": "vite --config client/vite.config.ts",
|
||||
"build": "vite build --config client/vite.config.ts",
|
||||
@@ -36,6 +37,7 @@
|
||||
"@vitejs/plugin-react": "^4.3.0",
|
||||
"autoprefixer": "^10.4.0",
|
||||
"concurrently": "^9.1.0",
|
||||
"kill-port": "^2.0.1",
|
||||
"postcss": "^8.4.0",
|
||||
"tailwindcss": "^3.4.0",
|
||||
"tsx": "^4.19.0",
|
||||
|
||||
Reference in New Issue
Block a user