Prior to v5, Vite HMR was working despite having cyclic dependencies. Unfortunately it now does not support this anymore resulting in quite some negative reactions (https://github.com/vitejs/vite/issues/10208#issuecomment-1823051931). Is there a way to manually apply HMR on circular deps via a plugin?
GitHub
Description Previously in #2314, we've decided that HMR will not handle cyclic dependencies and instead reload the entire app, and we think that's the only way that it's correct. Howeve...