You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In below code, you can find that reporter.html uses enableWebSocket before setting.
viewer.jsx
console.log('use enableWebSocket',window.enableWebSocket);// Initializing WebSocket for live treemap updatesletws;try{if(window.enableWebSocket){ws=newWebSocket(`ws://${location.host}`);}}catch(err){console.warn("Couldn't connect to analyzer websocket server so you'll have to reload page manually to see updates in the treemap");}
Issue description
websocket does not establish under 'server' mode.
I have researched. This issue is related PR #215.
Testing
In below code, you can find that
reporter.html
usesenableWebSocket
before setting.viewer.jsx
viewer.ejs
Test result in browser.
I am making a PR to fix it.
Technical info
The text was updated successfully, but these errors were encountered: