HMR update issues on Ubuntu
See original GitHub issueCach is disabled
Describe the bug
After installing Vite, everything goes fine, But after 1 minute I can’t see the result in the browser, And sometimes I’ve to save the file multiple time to see the result in the browser
Reproduction
repo link pnpm i
+ pnpm run dev
System Info
-
vite
^1.0.0-beta.11 -
Operating System: Distributor ID:Ubuntu Description: Ubuntu 20.04 LTS Release: 20.04 Codename: focal
-
Node
v13.2.0 -
npm
6.13.1 -pnpm
5.4.0 -
vue
^3.0.0-beta.20 -
@vue/compiler-sfc
^3.0.0-beta.20
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
HMR not working (Parcel, Webpack 5) in WSL2/Ubuntu 22.04
HMR is not working under WSL2. It's not reloading. I have a pretty normal setup of sass and parceljs. The problem is that,...
Read more >How to fix the NextJS HMR(hot reload) not working error on ...
When working on NextJS applications inside WSL2, there seems to be an issue with HMR (Hot Reload) not detecting changes to your code...
Read more >Development - Parcel
HMR improves the development experience by updating modules in the browser at runtime without needing a whole page refresh. This means that application...
Read more >Hot Module Replacement in Redux - Toptal
It's not easy to fix a bug when the bug happens only with a particular snapshot of the state. HMR allows us to...
Read more >Upgrade Ubuntu desktop
Getting ready to upgrade. Before proceeding ensure that your software is up to date by running: sudo apt update sudo apt upgrade. From...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I think this is most likely related to
chokidar
having issues watching file changes on Ubuntu. It’s gonna be hard to reproduce though.@moghaazi thanks for the update! Closing this one now.