We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When server.hmr.port is specified in the vite.config.js file, it is not used to generate the public/hot file.
server.hmr.port
vite.config.js
public/hot
I tried a pull request, but I'm not familiar with the TypeScript syntax and the checks are failing. Can someone help?
Add this to vite.config.js
server: { hmr: { port: 3081, }, },
Run npm run dev and open the public/hot file. The port number will be the one from server.port (3000 by default).
npm run dev
server.port
The text was updated successfully, but these errors were encountered:
Let's continue the discussion on #63
Sorry, something went wrong.
No branches or pull requests
Description:
When
server.hmr.port
is specified in thevite.config.js
file, it is not used to generate thepublic/hot
file.I tried a pull request, but I'm not familiar with the TypeScript syntax and the checks are failing. Can someone help?
Steps To Reproduce:
Add this to
vite.config.js
Run
npm run dev
and open thepublic/hot
file. The port number will be the one fromserver.port
(3000 by default).The text was updated successfully, but these errors were encountered: