Closed christoferd closed 10 months ago
Hi, the plugin is not hot reloading. Instead it does a full reload of the page.
Have you added a proper entry
to your config?
Something like:
usePHP({
entry: ['src/index.php'],
});
By default the plugin loads the index.php
from the root, just like Vite would with the index.html
.
I assume the reloading issue is resolved
Hi, Should this be hot reloading automatically?
When I edit the index.php file the page does not hot reload automatically. Vite output in CLI does notice the change and outputs this:
3:35:24 pm [vite] page reload src/index.php