I run Vite as proxy of built-in php server:
import {defineConfig} from 'vite';
import fullReload from 'vite-plugin-full-reload';
export default defineConfig({
server: {
proxy: {
'/': 'http://localhost:8080'
}
},
plugins: [
fullReload('*.php')
],
});
The problem: when I update PHP file, I see «page reload» message in the terminal, but no page reload happens.
I run Vite as proxy of built-in php server:
The problem: when I update PHP file, I see «page reload» message in the terminal, but no page reload happens.