windows dev

This commit is contained in:
julius authored and Julius Marminge committed 2026-03-03 21:03:16 -08:00
1 parent 99e44f2c23
commit 34430e3514
2 files changed
+12 -9

No files matched your search

+1 -1
View File
@@ -9,7 +9,7 @@
],
"type": "module",
"scripts": {
"dev": "VITE_DEV_SERVER_URL=${VITE_DEV_SERVER_URL:-http://localhost:5733} bun run src/index.ts",
"dev": "bun run src/index.ts",
"build": "node scripts/cli.ts build",
"start": "node dist/index.mjs",
"prepare": "effect-language-service patch",
+11 -8
View File
@@ -406,14 +406,17 @@ export function runDevRunnerWithInput(input: DevRunnerCliInput) {
return;
}
const command = process.platform === "win32" ? "turbo.cmd" : "turbo";
const child = yield* ChildProcess.make(command, [...MODE_ARGS[input.mode], ...input.turboArgs], {
stdin: "inherit",
stdout: "inherit",
stderr: "inherit",
env,
extendEnv: false,
});
const child = yield* ChildProcess.make(
"turbo",
[...MODE_ARGS[input.mode], ...input.turboArgs],
{
stdin: "inherit",
stdout: "inherit",
stderr: "inherit",
env,
extendEnv: false,
},
);
const exitCode = yield* child.exitCode;
if (exitCode !== 0) {