-
I already saw #1782 , but that is focused on another template engine. I also saw the Vite documentation's Client HMR Page, and I tried putting this on my if (import.meta.hot) {
import.meta.hot.decline();
} From the best of my understanding from that page, this should indicate to the Vite process that if I change and save the But for now, nothing happens when I change and save the file, even the CLI doesn't print anything indicating that it saw the change on the file system. Can I manually use the HMR api to be notified when the Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Alright, my problem was running code from WSL and using files from the Windows drive. I solved it by running code from the Windows command prompt (or Powershell). I had to reinstall all node_modules from windows too. |
Beta Was this translation helpful? Give feedback.
Alright, my problem was running code from WSL and using files from the Windows drive. I solved it by running code from the Windows command prompt (or Powershell). I had to reinstall all node_modules from windows too.