Merge pull request #148 from olaservo/add-note-for-dev-mode-on-windows

Add note for dev mode on windows
This commit is contained in:
Justin Spahr-Summers
2025-02-19 15:31:58 +00:00
committed by GitHub
3 changed files with 10 additions and 1 deletions

View File

@@ -48,6 +48,13 @@ Development mode:
npm run dev
```
> **Note for Windows users:**
> On Windows, use the following command instead:
>
> ```bash
> npm run dev:windows
> ```
Production mode:
```bash

View File

@@ -22,6 +22,7 @@
],
"scripts": {
"dev": "concurrently \"cd client && npm run dev\" \"cd server && npm run dev\"",
"dev:windows": "concurrently \"cd client && npm run dev\" \"cd server && npm run dev:windows",
"build-server": "cd server && npm run build",
"build-client": "cd client && npm run build",
"build": "npm run build-server && npm run build-client",

View File

@@ -16,7 +16,8 @@
"scripts": {
"build": "tsc",
"start": "node build/index.js",
"dev": "tsx watch --clear-screen=false src/index.ts"
"dev": "tsx watch --clear-screen=false src/index.ts",
"dev:windows": "tsx watch --clear-screen=false src/index.ts < NUL"
},
"devDependencies": {
"@types/cors": "^2.8.17",