We use vite for a react-like dev environment. Key for us is to be able to stop full reloads, as we manage reloads ourselves via custom plugins. Up until now, we have been able to cancel full reload with this:
[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.
Describe the bug
We use vite for a react-like dev environment. Key for us is to be able to stop full reloads, as we manage reloads ourselves via custom plugins. Up until now, we have been able to cancel full reload with this:
This has now stopped working; reverting back to 5.1.7 makes the use case work again.
We have inspected the event code in vite, but can see no obvious local current change that would explain this.
Reproduction
https://stackblitz.com/edit/vitejs-vite-kdguwf
Steps to reproduce
System Info
Used Package Manager
npm
Logs
No response
Validations