@netlify/vite-plugin-tanstack-start' breaking hmr refresh?
Hi,
A strange error where
netlify()
is breaking react refresh HMR. vite.config.js
:
The console whenever there is a code change despite only referencing in the vite.config.js
once and as per the docs. (After start()
and before react()
). :
9:45:57 AM [vite] ⬥ Netlify ⚠ Warning: Multiple instances of @netlify/vite-plugin have been loaded. This may cause unexpected behavior if the plugin is configured differently in each instance. If you have one instance of this plugin in your Vite config, you may safely remove it.In the web browser console there is a message about GET http://localhost:5173/@react-refresh returning a 404. This is confirmed by As soon as I remove the
netlify()
plugin it works again. Again, this "was" working previously....
Has anyone else seen this?1 Reply
compatible-crimson•18h ago
@Netlify (Partner)