[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
Related plugins
[X] plugin-vue
[ ] plugin-vue-jsx
Describe the bug
When you update the content of console.log, HMR is broken.
Reproduction
https://stackblitz.com/edit/vitejs-vite-q32exk?file=src%2Fcomponents%2FTest.vue&terminal=dev
Steps to reproduce
Try to update the content of console.log
System Info
Used Package Manager
pnpm
Logs
There has no logs when it's broken, it just stuck
Validations