How to configure Vite HMR when developing in Gitpod #15187
oedev-apps
started this conversation in
Show and Tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This took me a while to figure out and I didn't find help on here so I thought I would post. If this is duplicate info let me know.
The issue was that web sockets could not connect to Vite server. So I could manually reload browser to see changes to app but no hot updates were possible. I made a simple edit to the Quasar config to get it to work.
quasar.config.js
For consistency you might want to make sure you are always using the same port in your Gitpod config since the port is now hard-coded in a string in the Quasar config:
.gitpod.yml
Beta Was this translation helpful? Give feedback.
All reactions