| author | |
| committer | |
| log | 34430e3514041935898aba5282392fac605afa71 |
| tree | b255d4a5d63ae478d4e9d6d2ea3d02a29f99a1c3 |
| parent | 99e44f2c23462f9ccf80a9d199bb424ae130bf33 |
2 files changed, 12 insertions(+), 9 deletions(-)
apps/server/package.json+1-1| ... | @@ -9,7 +9,7 @@ | ... | @@ -9,7 +9,7 @@ |
| 9 | ], | 9 | ], |
| 10 | "type": "module", | 10 | "type": "module", |
| 11 | "scripts": { | 11 | "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", |
| 13 | "build": "node scripts/cli.ts build", | 13 | "build": "node scripts/cli.ts build", |
| 14 | "start": "node dist/index.mjs", | 14 | "start": "node dist/index.mjs", |
| 15 | "prepare": "effect-language-service patch", | 15 | "prepare": "effect-language-service patch", |
scripts/dev-runner.ts+11-8| ... | @@ -406,14 +406,17 @@ export function runDevRunnerWithInput(input: DevRunnerCliInput) { | ... | @@ -406,14 +406,17 @@ export function runDevRunnerWithInput(input: DevRunnerCliInput) { |
| 406 | return; | 406 | return; |
| 407 | } | 407 | } |
| 408 | 408 | ||
| 409 | const command = process.platform === "win32" ? "turbo.cmd" : "turbo"; | 409 | const child = yield* ChildProcess.make( |
| 410 | const child = yield* ChildProcess.make(command, [...MODE_ARGS[input.mode], ...input.turboArgs], { | 410 | "turbo", |
| 411 | stdin: "inherit", | 411 | [...MODE_ARGS[input.mode], ...input.turboArgs], |
| 412 | stdout: "inherit", | 412 | { |
| 413 | stderr: "inherit", | 413 | stdin: "inherit", |
| 414 | env, | 414 | stdout: "inherit", |
| 415 | extendEnv: false, | 415 | stderr: "inherit", |
| 416 | }); | 416 | env, |
| 417 | extendEnv: false, | ||
| 418 | }, | ||
| 419 | ); | ||
| 417 | 420 | ||
| 418 | const exitCode = yield* child.exitCode; | 421 | const exitCode = yield* child.exitCode; |
| 419 | if (exitCode !== 0) { | 422 | if (exitCode !== 0) { |