I'm following the docs step by step, but everytime I start a new app with NativePHP Mobile version, I'm not able to put the app to work with Hot Reaload, and to keep my changes in sync I pre-compile my assets and make vite "watch" the changes and replace the whole files, so no HMR for my apps in general, for development of course.
#Hot Reloading not working on iOS (simulator)
1 messages · Page 1 of 1 (latest)
I got this message but event the most simple change is not applied to the app in the simulator
Ok, I see that the hot file is not being replace with the correct IP (pointing for example to localhost:5173 as is defined in the vite plugins)
Ok, I "fixed" the problem and I "discover" the "issue", and as you might guess, is not a "fix" or an error (I think), but is because I'm using Laravel herd. I would recomend to not use Laravel Herd if you're planning to not use the app also as a web app, but if you need also the web app, you need to configure vite, that's it.