diff --git a/README.md b/README.md index 9350f38..b23df7b 100644 --- a/README.md +++ b/README.md @@ -49,12 +49,9 @@ npm run dev ``` > **Note for Windows users:** -> On Windows, you may experience an issue where the proxy server fails to start when running the `npm run dev` command. This is due to TSX's watch mode not properly handling standard input on Windows. -> -> To work around this, you can append `< NUL` to the `dev` script in `/server/package.json`: -> +> On Windows, use the following command instead: > ```bash -> tsx watch --clear-screen=false src/index.ts < NUL +> npm run dev:windows > ``` Production mode: diff --git a/package.json b/package.json index 01b2158..257ee93 100644 --- a/package.json +++ b/package.json @@ -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 && tsx watch --clear-screen=false src/index.ts < NUL\"", "build-server": "cd server && npm run build", "build-client": "cd client && npm run build", "build": "npm run build-server && npm run build-client",