New issue
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
Hot Reload doesn't work #12662
Comments
I got same issue #11964 |
@productdevbook There was a problem with Sass hot reloading, fixed here: vitejs/vite#5422. |
yes 1.9.4 but some problem |
Not sure if this is the same problem that I had, but adding:
to nuxt.config fixed my HMR issue. |
Confirm HMR not work
not work for me |
closing to follow in #11956 |
I had the same problem but, doing nothing to fix.. I discover it works only at Network: http://172.21.21.166:3000/ and not at Local: http://localhost:3000/ |
For all those for whom HMR does not work in WSL2, First, as @FabioDavi said, access with IP ( vite: {
server: {
watch: {
usePolling: true,
},
},
}, This makes HMR working fine in my case! (This workaround may cause Vue to issue a hydration warning if a hot reload rewrites an HTML element. |
none of the solutions seems to work for me, any other ideas? |
This is the only thing that worked after trying everything in this thread and #11956. I finally have a working HMR! |
For all those who still have the problem, Make sure you haven't created a configuration file without the default export. Example: (app.config.ts) and they always check the browser console for some error. |
same issue |
I encounter the same issue in Nuxt2 and have fixed via this solution. https://en.ahmetonursolmaz.com.tr/nuxt-hot-reload-isnt-working/ |
I had to open port |
Thanks @ahmetonurslmz, this worked for me in Nuxt 2.15.8 |
Thanks, also works for me. in Nuxt 2.15.8 |
Environment
Darwin
v16.13.0
3.0.0-27255771.f78ec93
Yarn
Vite
buildModules
,build
-
@pinia/nuxt@0.1.0
Describe the bug
CleanShot.2021-10-27.at.22.58.59.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
The text was updated successfully, but these errors were encountered: