Don't eat the env, add PORT
This commit is contained in:
parent
d69d67cb64
commit
1f28b4474c
1 changed files with 2 additions and 2 deletions
|
|
@ -51,11 +51,11 @@ async function main() {
|
|||
...(command ? [`--env`, command] : []),
|
||||
...(mcpServerArgs ? ["--args", mcpServerArgs.join(" ")] : []),
|
||||
],
|
||||
{ env: { PORT: SERVER_PORT }, signal: abort.signal },
|
||||
{ env: { ...process.env, PORT: SERVER_PORT }, signal: abort.signal },
|
||||
);
|
||||
|
||||
const client = spawnPromise("node", [inspectorClientPath], {
|
||||
env: { PORT: CLIENT_PORT },
|
||||
env: { ...process.env, PORT: CLIENT_PORT },
|
||||
signal: abort.signal,
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue