From 77a0d770031bbee4cbef7c6414ca22038ead4cba Mon Sep 17 00:00:00 2001 From: Alex Dima Date: Wed, 26 Jan 2022 14:06:03 +0100 Subject: [PATCH] Avoid a lot of newlines when running from source --- scripts/code-server.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/code-server.js b/scripts/code-server.js index ec2fd65ec7f..48ec073596b 100644 --- a/scripts/code-server.js +++ b/scripts/code-server.js @@ -61,12 +61,12 @@ function startServer() { proc.stdout.on('data', data => { // Log everything - console.log(data.toString()); + process.stdout.write(data); }); // Log errors proc.stderr.on('data', data => { - console.error(data.toString()); + process.stderr.write(data); }); proc.on('exit', (code) => process.exit(code));