vite hmr websocket connection issue
Hi,
I'm running Nuxt 3 in dev mode and i'm facing a weird issue.
The app defines a websocket service that opens a websocket url and updates a state when it receives messages. That works fine.
However when a crash happens, i'll correct the bug in the code, and sometimes it won't autoreload, so I'll reload manually. Then I see
(ws messages are my own message for my websocket service), a good 3-4 minutes pass and then i see
This looks like vite is having a websocket issue that blocks my own websocket.
This frontend and its api are in docker containers. Downing and Upping the whole compose does NOT fix the issue.
Does it look like anything known ?
0 Replies