Skip to content

Vite Hot Module Reloading stopped working today #16102

Answered by nwoodr94
nwoodr94 asked this question in Q&A
Discussion options

You must be logged in to vote

Vite hot module reloading does NOT work consistently in Docker. See #16102 (comment) for possible fix

Some vite.config.js configurations work for one machine, while other configurations work for other machines. This is a machine specific problem, because the issue is sometimes reproducible across Windows, Mac, and Linux (Debian and Ubuntu).

Further complicating this issue, sometimes the same configuration works one day, and stops working the next. Sometimes two users on the same OS, will need two different vite.config.js to enable HMR in Docker.

Replies: 5 comments 10 replies

Comment options

You must be logged in to vote
2 replies
@nwoodr94
Comment options

@nwoodr94
Comment options

Comment options

You must be logged in to vote
3 replies
@gmalanchuk
Comment options

@nwoodr94
Comment options

@nonInfelix
Comment options

Comment options

You must be logged in to vote
1 reply
@maziar-dandc
Comment options

Answer selected by nwoodr94
Comment options

You must be logged in to vote
3 replies
@innoligentdeveloper
Comment options

@nwoodr94
Comment options

@innoligentdeveloper
Comment options

Comment options

You must be logged in to vote
1 reply
@dollro
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
8 participants
Converted from issue

This discussion was converted from issue #16101 on March 06, 2024 04:40.