Kano001 commited on
Commit
8b8003d
1 Parent(s): d7e50fa

Update server.js

Browse files
Files changed (1) hide show
  1. server.js +1 -0
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