Skip to content
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,15 @@ Development mode:
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`:
>
> ```bash
> tsx watch --clear-screen=false src/index.ts < NUL
> ```

Production mode:

```bash
Expand Down
18 changes: 7 additions & 11 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"scripts": {
"build": "tsc",
"start": "node build/index.js",
"dev": "node --import tsx --watch --watch-preserve-output src/index.ts"
"dev": "tsx watch --clear-screen=false src/index.ts"
},
"devDependencies": {
"@types/cors": "^2.8.17",
Expand Down