authorgravatar for julius0216@outlook.comjulius <julius0216@outlook.com> 2026-03-04 03:51:11-08:00
committergravatar for jmarminge@gmail.comJulius Marminge <jmarminge@gmail.com> 2026-03-03 21:03:16-08:00
log34430e3514041935898aba5282392fac605afa71
treeb255d4a5d63ae478d4e9d6d2ea3d02a29f99a1c3
parent99e44f2c23462f9ccf80a9d199bb424ae130bf33

windows dev


2 files changed, 12 insertions(+), 9 deletions(-)

apps/server/package.json+1-1
......@@ -9,7 +9,7 @@
99 ],
1010 "type": "module",
1111 "scripts": {
12 "dev": "VITE_DEV_SERVER_URL=${VITE_DEV_SERVER_URL:-http://localhost:5733} bun run src/index.ts",
12 "dev": "bun run src/index.ts",
1313 "build": "node scripts/cli.ts build",
1414 "start": "node dist/index.mjs",
1515 "prepare": "effect-language-service patch",
scripts/dev-runner.ts+11-8
......@@ -406,14 +406,17 @@ export function runDevRunnerWithInput(input: DevRunnerCliInput) {
406406 return;
407407 }
408408
409 const command = process.platform === "win32" ? "turbo.cmd" : "turbo";
410 const child = yield* ChildProcess.make(command, [...MODE_ARGS[input.mode], ...input.turboArgs], {
411 stdin: "inherit",
412 stdout: "inherit",
413 stderr: "inherit",
414 env,
415 extendEnv: false,
416 });
409 const child = yield* ChildProcess.make(
410 "turbo",
411 [...MODE_ARGS[input.mode], ...input.turboArgs],
412 {
413 stdin: "inherit",
414 stdout: "inherit",
415 stderr: "inherit",
416 env,
417 extendEnv: false,
418 },
419 );
417420
418421 const exitCode = yield* child.exitCode;
419422 if (exitCode !== 0) {