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.

Hot Reload doesn't work

See original GitHub issue

Environment


  • Operating System: Darwin
  • Node Version: v16.13.0
  • Nuxt Version: 3.0.0-27255771.f78ec93
  • Package Manager: Yarn
  • Bundler: Vite
  • User Config: buildModules, build
  • Runtime Modules: -
  • Build Modules: @pinia/nuxt@0.1.0

Describe the bug

https://user-images.githubusercontent.com/38668796/139138186-7cd201f5-ab03-4a38-93bc-46ebe6cdc2d8.mp4

Reproduction

https://github.com/productdevbook/nuxt3-app

Additional context

This seems to me to be in vite. because when I translate css, it fixes the project. There seems to be a problem with compiling Sass. but we’re not entirely sure

Logs

✔ Vite server built in 111ms
(node:15424) ExperimentalWarning: stream/web is an experimental feature. This feature could change at any time
(Use `node --trace-warnings ...` to show where the warning was created)

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:6
  • Comments:10 (3 by maintainers)

github_iconTop GitHub Comments

11reactions
RodrigoReyes-vwcommented, Aug 11, 2022

none of the solutions seems to work for me, any other ideas?

10reactions
crotanitecommented, Oct 28, 2021

Not sure if this is the same problem that I had, but adding:

vite: {
  server: {
    watch: {
      usePolling: true
    }
  }
}

to nuxt.config fixed my HMR issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to Hot Reload on Visual Studio 2022 - Stack Overflow
Press the Hot Reload icon in the toolbar, then Settings from the icon's context menu (or access via Tools > Settings > Debugging)...
Read more >
Hot reload not working - Visual Studio Feedback
I'm trying to use Hot Reload on Android Emulador, but when I do any change in XAML file, the app doesn't update. Looking...
Read more >
Troubleshooting XAML Hot Reload - Visual Studio (Windows)
If Hot Reload is not available · Verify that XAML Hot Reload is enabled · Verify that you use Start Debugging rather than...
Read more >
C# Hot Reload Broken in VS 2022 17.2.0 Preview 3 #4989
Description Hot Reload does not work with Windows / Android or IOS. Doesn´t matter if emulator or native device.
Read more >
Hot-reload doesn't work and there are some errors in empty ...
turn off hot reload in the lower-right popup menu · open the project in visual studio · quit the unreal editor · rebuild...
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