Skip to content

Commit 2788097

Browse files
Merge pull request modelcontextprotocol#148 from olaservo/add-note-for-dev-mode-on-windows
Add note for dev mode on windows
2 parents 3893807 + 266e8be commit 2788097

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,13 @@ Development mode:
4848
npm run dev
4949
```
5050

51+
> **Note for Windows users:**
52+
> On Windows, use the following command instead:
53+
>
54+
> ```bash
55+
> npm run dev:windows
56+
> ```
57+
5158
Production mode:
5259
5360
```bash

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +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 && npm run dev:windows",
2526
"build-server": "cd server && npm run build",
2627
"build-client": "cd client && npm run build",
2728
"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)