question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

HMR update issues on Ubuntu

See original GitHub issue

Cach 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:closed
  • Created 3 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
yyx990803commented, Jul 18, 2020

I think this is most likely related to chokidar having issues watching file changes on Ubuntu. It’s gonna be hard to reproduce though.

0reactions
yyx990803commented, Jan 8, 2021

@moghaazi thanks for the update! Closing this one now.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found