reconnect to ws when closed

This commit is contained in:
Joel Wetzell
2026-03-21 12:43:40 -05:00
parent a98b77d570
commit d7d798894f
+4
View File
@@ -34,6 +34,10 @@ export class EventsService {
this.socket.onclose = () => {
this.status.set('closed');
// TODO(jwetzell): this could probably be better done
setTimeout(() => {
this.reload();
}, 2000);
};
this.socket.onerror = (error) => {