inherit env
This commit is contained in:
parent
e3fa95ab68
commit
7477086322
|
|
@ -59,7 +59,7 @@ async function startApp(name: string): Promise<string | undefined> {
|
|||
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",
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user