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

📖
"Without suffering, what would be the pleasure of it? Everything would be turned into an endless church service; it would be holy, but tedious. And so, I am compelled to play the role of the critic, to maintain the balance."

— The Devil