server.hmr.clientPort
only works if middlewareMode
is provided
#3853
Labels
server.hmr.clientPort
only works if middlewareMode
is provided
#3853
Describe the bug
server.hmr.clientPort
only works ifmiddlewareMode
is provided.Is this intentional? It feels like the client should be allowed to use any arbitrary port. It feels a bit odd to be tied to any server config.
I'm also new to Vite so there could be some missing context that I couldn't find from the issues. Please let me know. 🙏
Reproduction
This can be seen here.
System Info
Output of
npx envinfo --system --npmPackages vite,@vitejs/plugin-vue --binaries --browsers
:Used package manager: yarn
Before submitting the issue, please make sure you do the following
The text was updated successfully, but these errors were encountered: