Re-establishing web-socket for PWA

I’m struggling with this too. It’s an old problem never solved:

I’m trying this:

Apparently the writing to the db wakes up the websocket connection without the need of reloading.
I’m saying “apparently” as it works in 90% of my tests but in some cases I still have problems :sob:

1 Like