Open NeilW opened 4 years ago
Describe the bug If the web socket gets closed, the simulation stops and doesn't reset without a manual refresh of the page.
Expected behavior The web socket should attempt to reopen if it gets closed
To Reproduce In my case when my Mac goes to sleep overnight and the sockets all time out in my virtual machine!
Additional context May be worth switching the direct call to WebSocket to a ReconnectingWebSocket library like https://github.com/joewalnes/reconnecting-websocket
@NeilW Thanks we could absolutely use some front end help if you would be interested in making these changes and submitting a pull request.
Describe the bug If the web socket gets closed, the simulation stops and doesn't reset without a manual refresh of the page.
Expected behavior The web socket should attempt to reopen if it gets closed
To Reproduce In my case when my Mac goes to sleep overnight and the sockets all time out in my virtual machine!
Additional context May be worth switching the direct call to WebSocket to a ReconnectingWebSocket library like https://github.com/joewalnes/reconnecting-websocket