windows dev
This commit is contained in:
1 parent
99e44f2c23
commit
34430e3514
2 files changed
+12
-9
No files matched your search
@@ -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
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user