I have an application where I am trying to use a websocket and when running under the dev server with Fresh 2 and vite, the websocket connection is just "pending" and it is never received by the app, just gets swallowed, but a production build works as expected.
I can see the "dev" websocket for HMR connecting just fine.
I tried searching for wider issues related to vite and dev server, and I have looked at the Fresh 2 plugin, but I am not seeing anything that sounds right, so I opened this issue.