Skip to content

Commit e78d95d

Browse files
committed
feat(examples): add --watch to serve:stdio commands too
1 parent 7351184 commit e78d95d

9 files changed

Lines changed: 9 additions & 9 deletions

File tree

examples/budget-allocator-server/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"build": "tsc --noEmit && cross-env INPUT=mcp-app.html vite build",
2020
"watch": "cross-env INPUT=mcp-app.html vite build --watch",
2121
"serve:http": "bun --watch server.ts",
22-
"serve:stdio": "bun server.ts --stdio",
22+
"serve:stdio": "bun --watch server.ts --stdio",
2323
"start": "npm run start:http",
2424
"start:http": "cross-env NODE_ENV=development npm run build && npm run serve:http",
2525
"start:stdio": "cross-env NODE_ENV=development npm run build && npm run serve:stdio",

examples/cohort-heatmap-server/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"build": "tsc --noEmit && cross-env INPUT=mcp-app.html vite build",
2020
"watch": "cross-env INPUT=mcp-app.html vite build --watch",
2121
"serve:http": "bun --watch server.ts",
22-
"serve:stdio": "bun server.ts --stdio",
22+
"serve:stdio": "bun --watch server.ts --stdio",
2323
"start": "npm run start:http",
2424
"start:http": "cross-env NODE_ENV=development npm run build && npm run serve:http",
2525
"start:stdio": "cross-env NODE_ENV=development npm run build && npm run serve:stdio",

examples/customer-segmentation-server/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"build": "tsc --noEmit && cross-env INPUT=mcp-app.html vite build",
2020
"watch": "cross-env INPUT=mcp-app.html vite build --watch",
2121
"serve:http": "bun --watch server.ts",
22-
"serve:stdio": "bun server.ts --stdio",
22+
"serve:stdio": "bun --watch server.ts --stdio",
2323
"start": "npm run start:http",
2424
"start:http": "cross-env NODE_ENV=development npm run build && npm run serve:http",
2525
"start:stdio": "cross-env NODE_ENV=development npm run build && npm run serve:stdio",

examples/integration-server/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"build": "tsc --noEmit && cross-env INPUT=mcp-app.html vite build",
88
"watch": "cross-env INPUT=mcp-app.html vite build --watch",
99
"serve:http": "bun --watch server.ts",
10-
"serve:stdio": "bun server.ts --stdio",
10+
"serve:stdio": "bun --watch server.ts --stdio",
1111
"start": "npm run start:http",
1212
"start:http": "cross-env NODE_ENV=development npm run build && npm run serve:http",
1313
"start:stdio": "cross-env NODE_ENV=development npm run build && npm run serve:stdio",

examples/map-server/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"build": "tsc --noEmit && cross-env INPUT=mcp-app.html vite build",
2020
"watch": "cross-env INPUT=mcp-app.html vite build --watch",
2121
"serve:http": "bun --watch server.ts",
22-
"serve:stdio": "bun server.ts --stdio",
22+
"serve:stdio": "bun --watch server.ts --stdio",
2323
"start": "npm run start:http",
2424
"start:http": "cross-env NODE_ENV=development npm run build && npm run serve:http",
2525
"start:stdio": "cross-env NODE_ENV=development npm run build && npm run serve:stdio",

examples/scenario-modeler-server/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"build": "tsc --noEmit && cross-env INPUT=mcp-app.html vite build",
2020
"watch": "cross-env INPUT=mcp-app.html vite build --watch",
2121
"serve:http": "bun --watch server.ts",
22-
"serve:stdio": "bun server.ts --stdio",
22+
"serve:stdio": "bun --watch server.ts --stdio",
2323
"start": "npm run start:http",
2424
"start:http": "cross-env NODE_ENV=development npm run build && npm run serve:http",
2525
"start:stdio": "cross-env NODE_ENV=development npm run build && npm run serve:stdio",

examples/system-monitor-server/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"build": "tsc --noEmit && cross-env INPUT=mcp-app.html vite build",
2020
"watch": "cross-env INPUT=mcp-app.html vite build --watch",
2121
"serve:http": "bun --watch server.ts",
22-
"serve:stdio": "bun server.ts --stdio",
22+
"serve:stdio": "bun --watch server.ts --stdio",
2323
"start": "npm run start:http",
2424
"start:http": "cross-env NODE_ENV=development npm run build && npm run serve:http",
2525
"start:stdio": "cross-env NODE_ENV=development npm run build && npm run serve:stdio",

examples/threejs-server/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"build": "tsc --noEmit && cross-env INPUT=mcp-app.html vite build",
2020
"watch": "cross-env INPUT=mcp-app.html vite build --watch",
2121
"serve:http": "bun --watch server.ts",
22-
"serve:stdio": "bun server.ts --stdio",
22+
"serve:stdio": "bun --watch server.ts --stdio",
2323
"start": "npm run start:http",
2424
"start:http": "cross-env NODE_ENV=development npm run build && npm run serve:http",
2525
"start:stdio": "cross-env NODE_ENV=development npm run build && npm run serve:stdio",

examples/wiki-explorer-server/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"build": "tsc --noEmit && cross-env INPUT=mcp-app.html vite build",
2020
"watch": "cross-env INPUT=mcp-app.html vite build --watch",
2121
"serve:http": "bun --watch server.ts",
22-
"serve:stdio": "bun server.ts --stdio",
22+
"serve:stdio": "bun --watch server.ts --stdio",
2323
"start": "npm run start:http",
2424
"start:http": "cross-env NODE_ENV=development npm run build && npm run serve:http",
2525
"start:stdio": "cross-env NODE_ENV=development npm run build && npm run serve:stdio",

0 commit comments

Comments
 (0)