Vite HMR doesn't trigger page reload #427
michalkuncio
started this conversation in
General
Replies: 1 comment
-
I solved the issue myself. The problem was that the vite server was on localhost and I used 127.0.0.1 for the rails server. Switching to localhost solved HMR issue. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm working with the Vue application (using Vue 3, Node 18, Rails 6). When I change something in any Vue file, I can see that the Vite dev server is triggered in the console but the page is not being refreshed. I have a Rails app running on port 3010 and a Vite dev server on 3036. Do you know of any way to trigger that refresh?
Beta Was this translation helpful? Give feedback.
All reactions