diff options
Diffstat (limited to 'scripts/code-server.js')
-rw-r--r-- | scripts/code-server.js | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/scripts/code-server.js b/scripts/code-server.js index 48ec073596b..c7ecdd8c07c 100644 --- a/scripts/code-server.js +++ b/scripts/code-server.js @@ -57,17 +57,7 @@ startServer(); function startServer() { console.log(`Starting server: ${entryPoint} ${serverArgs.join(' ')}`); - const proc = cp.spawn(process.execPath, [entryPoint, ...serverArgs], { env }); - - proc.stdout.on('data', data => { - // Log everything - process.stdout.write(data); - }); - - // Log errors - proc.stderr.on('data', data => { - process.stderr.write(data); - }); + const proc = cp.spawn(process.execPath, [entryPoint, ...serverArgs], { env, stdio: 'inherit' }); proc.on('exit', (code) => process.exit(code)); |