diff --git a/src/webapp/server.ts b/src/webapp/server.ts index dabe7f1..bd12792 100644 --- a/src/webapp/server.ts +++ b/src/webapp/server.ts @@ -59,7 +59,7 @@ async function startApp(name: string): Promise { const port = String(nextPort++) const proc = Bun.spawn({ cmd: [BUN_BIN, "run", "src/webapp/worker.ts", name], - env: { PORT: port }, + env: { ...process.env, PORT: String(port) }, stdout: "inherit", stderr: "inherit", })