Fallbacks when stream fails

I have has several cases when streamed updates do not appear on the page where they should.
Could this be a bug in my code? (page reload fixes it and streamed updates start appearing)
Or should I implement a fallback polling refresh of the state to work around this?
Whats the best way to debug this? I can see that the background job is performing the broadcasts but the page is not being updated.

Are the updates occurring over a websocket? If so, does the browser loose it’s websocket connection?

I’ve seen this a lot in development when I’ve edited some code. It’s like the reloader doesn’t quite work and the socket is dropped. Reloading the page fixes it. Can’t say I’ve seen it in production though.