Skip to content

Commit ed59974

Browse files
committed
Add dev:windows to server instead and reference from root package.json
1 parent 8e06165 commit ed59974

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
],
2323
"scripts": {
2424
"dev": "concurrently \"cd client && npm run dev\" \"cd server && npm run dev\"",
25-
"dev:windows": "concurrently \"cd client && npm run dev\" \"cd server && tsx watch --clear-screen=false src/index.ts < NUL\"",
25+
"dev:windows": "concurrently \"cd client && npm run dev\" \"cd server && npm run dev:windows",
2626
"build-server": "cd server && npm run build",
2727
"build-client": "cd client && npm run build",
2828
"build": "npm run build-server && npm run build-client",

server/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
"scripts": {
1717
"build": "tsc",
1818
"start": "node build/index.js",
19-
"dev": "tsx watch --clear-screen=false src/index.ts"
19+
"dev": "tsx watch --clear-screen=false src/index.ts",
20+
"dev:windows": "tsx watch --clear-screen=false src/index.ts < NUL"
2021
},
2122
"devDependencies": {
2223
"@types/cors": "^2.8.17",

0 commit comments

Comments
 (0)