From 7b92ead535963a8af61949923eabf3fb5925fc99 Mon Sep 17 00:00:00 2001 From: Your Name Date: Fri, 16 Feb 2024 18:08:51 -0600 Subject: [PATCH] wip --- shell/watcher.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/watcher.js b/shell/watcher.js index 023a7d2..7715219 100644 --- a/shell/watcher.js +++ b/shell/watcher.js @@ -152,7 +152,7 @@ wss.on('connection', function connection(ws) { console.log('WebSocket client connected'); // Send initial state - ws.send_ws_message(calculateDiff({}, progvars)); + ws.send(calculateDiff({}, progvars)); ws.on('message', function incoming(message) { console.log('received: %s', message);