Skip to content

Fix dev server spawn on Windows#9

Draft
cpjet64 wants to merge 2 commits into
Waishnav:mainfrom
cpjet64:patch-dev-server-windows-npx
Draft

Fix dev server spawn on Windows#9
cpjet64 wants to merge 2 commits into
Waishnav:mainfrom
cpjet64:patch-dev-server-windows-npx

Conversation

@cpjet64

@cpjet64 cpjet64 commented Jun 18, 2026

Copy link
Copy Markdown

Summary

  • run the local tsx CLI through the current Node executable instead of spawning bare npx
  • avoid Windows ENOENT failures when npm run dev starts the watcher
  • add a regression test for the dev-server command used by the watcher

Verification

  • node scripts/dev-server.test.mjs
  • npm test
  • npm run typecheck
  • npm run build
  • npm run dev smoke test with local DEVSPACE_* env; server reached http://127.0.0.1:7676/mcp before the intentional timeout

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant