Update server.js
Browse files
server.js
CHANGED
@@ -27,6 +27,7 @@ wss.on('connection', (ws) => {
|
|
27 |
// Send stdout data to the WebSocket client
|
28 |
process.stdout.on('data', (data) => {
|
29 |
ws.send(`stdout: ${data}`);
|
|
|
30 |
});
|
31 |
|
32 |
// Send stderr data to the WebSocket client
|
|
|
27 |
// Send stdout data to the WebSocket client
|
28 |
process.stdout.on('data', (data) => {
|
29 |
ws.send(`stdout: ${data}`);
|
30 |
+
console.log(`Log: ${data}`);
|
31 |
});
|
32 |
|
33 |
// Send stderr data to the WebSocket client
|