Update server.js
Browse files
server.js
CHANGED
@@ -32,6 +32,7 @@ wss.on('connection', (ws) => {
|
|
32 |
// Send stderr data to the WebSocket client
|
33 |
process.stderr.on('data', (data) => {
|
34 |
ws.send(`stderr: ${data}`);
|
|
|
35 |
});
|
36 |
|
37 |
// Handle process completion
|
|
|
32 |
// Send stderr data to the WebSocket client
|
33 |
process.stderr.on('data', (data) => {
|
34 |
ws.send(`stderr: ${data}`);
|
35 |
+
console.log(`Log: ${data}`);
|
36 |
});
|
37 |
|
38 |
// Handle process completion
|