@devries-cameron20 / t3code-1 / commits / d2bb611134
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

fix(dev): dev servers no longer open a console window on Windows (#38194)

Co-authored-by: Julius Marminge <julius0216@outlook.com>

Tgoh committed Nov 21, 2026 at 10:11 UTC d2bb611134ad37a87cdd37fc05f4c00c7136a9b5
1 file changed +4 -2
scripts/dev-runner.ts
+4 -2
@@ -925,8 +925,10 @@ export const runDevRunnerWithInput = Effect.fn("dev-runner.runDevRunnerWithInput
925 extendEnv: false,
926 shell: spawnCommand.shell,
927 // Its own process group: teardown signals the whole group, because vp
928 - // does not pass SIGTERM on to Vite and the server.
929 - detached: true,
928 + // does not pass SIGTERM on to Vite and the server. Windows tears down with
929 + // taskkill /T instead, and a detached shell there leaves vp to open a
930 + // visible console of its own.
931 + detached: (yield* HostProcess.Platform) !== "win32",
932 forceKillAfter: "1500 millis",
933 }).pipe(
934 Effect.mapError(