Make stdout/error echo for client and server
This commit is contained in:
parent
a00564fafa
commit
98470a12f9
1 changed files with 12 additions and 7 deletions
|
|
@ -51,12 +51,17 @@ async function main() {
|
|||
...(command ? [`--env`, command] : []),
|
||||
...(mcpServerArgs ? ["--args", mcpServerArgs.join(" ")] : []),
|
||||
],
|
||||
{ env: { ...process.env, PORT: SERVER_PORT }, signal: abort.signal },
|
||||
{
|
||||
env: { ...process.env, PORT: SERVER_PORT },
|
||||
signal: abort.signal,
|
||||
echoOutput: true,
|
||||
},
|
||||
);
|
||||
|
||||
const client = spawnPromise("node", [inspectorClientPath], {
|
||||
env: { ...process.env, PORT: CLIENT_PORT },
|
||||
signal: abort.signal,
|
||||
echoOutput: true,
|
||||
});
|
||||
|
||||
// Make sure our server/client didn't immediately fail
|
||||
|
|
|
|||
Loading…
Reference in a new issue