Posted on , Development
Setting Up PHP Hot Module Reloading with Cloudflare Tunnels and Vite
If you haven’t already, check out how to set up a Cloudflared Tunnel before you continue. I’ve been running Cloudflared tunnels for about a year now. One thing that always bothered me was getting Hot Module Reloading (HMR) to work seamlessly. Before we get started, make sure that your package.json file has type: module or…