Add refresh capabilites of vitejs
Hey!
I often encounter the Problem while developing that I run into an error and then I need to manually reload the page after correcting the error. Using ViteJS it is already possible to reload the page automatically on file save and I would love it, if there is a way for auto reloading the error page to check if the code is running correctly.
Right now Ignition doesn't include a way to dynamically add scripts to the error page and I don't know if this is wished for and therefor simply wrote the part where the Vite Client Module is included using the Laravel Vite Helper (which don't exist in non-laravel projects)
What is your opinion on the problem? (Solution is probably not the best way to go, but it works locally for me 😄)