Vite dev server will auto-increment it's port but not for it's HMR

Continuous socket.io connections quickly filled up the limit of 6 requests in my Firefox causing other requests to not get resolved either.

This is at least the case in Vite 7 I suppose. Could also be related to the particulars of my config. I will check later and see if I can reproduce this in a super small project.

The fix: just set the port again in the server section in your vite config. I suppose strictPort only would make sense here, then?

This is related to this TIL: Firefox won’t tell you why it’s stalling your request

💡
"There are three ways to survive in a ruined world. I have forgotten some of them now. However, one thing is certain: you who are currently reading these words will survive."

— Kim Dokja (Omniscient Reader's Viewpoint)