Skip to content

Commit 1f28b44

Browse files
committed
Don't eat the env, add PORT
1 parent d69d67c commit 1f28b44

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bin/cli.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,11 @@ async function main() {
5151
...(command ? [`--env`, command] : []),
5252
...(mcpServerArgs ? ["--args", mcpServerArgs.join(" ")] : []),
5353
],
54-
{ env: { PORT: SERVER_PORT }, signal: abort.signal },
54+
{ env: { ...process.env, PORT: SERVER_PORT }, signal: abort.signal },
5555
);
5656

5757
const client = spawnPromise("node", [inspectorClientPath], {
58-
env: { PORT: CLIENT_PORT },
58+
env: { ...process.env, PORT: CLIENT_PORT },
5959
signal: abort.signal,
6060
});
6161

0 commit comments

Comments
 (0)