vite refreshing page if changes are made to server code. #4526
-
Hi, I have migrated a nuxt project to invertia ssr with vue 3. everythig is working good so far. the problem is that project have so many assets. so full refresh on page takes some time. whenever i make changes to server code. vite hard reload the page. i dont know if it was supposed to be like this. Please if any one knows how to solve this issue. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
I think Vite should not hard reload the page when you make changes in your frontend code. Can you please share a reproduction repo for the same that we can use to debug the issue? |
Beta Was this translation helpful? Give feedback.
-
Just read the title carefully. It says backend code :). Yes, that is expected as of now. |
Beta Was this translation helpful? Give feedback.
Also, you can try the new experimental HMR support we released some days ago. Follow this : https://github.com/adonisjs/core/releases/tag/v6.7.0
It should solve the issue you are facing