Vite Plugin - Code Generation issue
A member on my development team implemented tan stack router in our application and was showing off the auto generation feature with Vite on his Mac.
While the app was running he was able to add route files to our routes folder and Vite would pickup the change, triggering the plugin to generate the code boilerplate in the new file and also adding to the generated route tree.
However it doesn’t work the same way on PC for the rest of the team, we have to stop and then restart the app in order for the code generation to trigger.
I’ve been trying to find any similar issues reported but the only issue I saw has been closed and was related to a monorepo structure. There is a comment on there with the same problem I have though, posted after the ticket was closed.
Has anyone else experienced this or have a solution?
While the app was running he was able to add route files to our routes folder and Vite would pickup the change, triggering the plugin to generate the code boilerplate in the new file and also adding to the generated route tree.
However it doesn’t work the same way on PC for the rest of the team, we have to stop and then restart the app in order for the code generation to trigger.
I’ve been trying to find any similar issues reported but the only issue I saw has been closed and was related to a monorepo structure. There is a comment on there with the same problem I have though, posted after the ticket was closed.
Has anyone else experienced this or have a solution?