Open IvanLisz opened 9 months ago
We can clean this up a bit but the intention here is that if the routes change ( new gets added, something gets removed, some exports get changed, etc.) we should do full reload to get the new routing config.
This should only happen when changing something in the route file itself. Not other files.
This removes the reload for a route update, but keeps it for route remove/add. https://github.com/nksaraf/vinxi/pull/137 Do you think this would be ok? Is there any case, besides routeData where you would need a full reload?
This seems closer to the previous solid-start behavior where HMR works on route update, while new/delete route triggers a reload.
Steps to Reproduce: