Live reload feature on Mobile device for PWA app

Issue

I need to develop a Mobile PWA app. I use Ionic/Capacitor. I know how to run the native app on a device with live reload feature. But how can I do the same with a mobile web app? i.e. I would like to develop PWA on advice from the beginning.

I use this with Native Android apps:

ionic cap run android -l –host=0.0.0.0

Solution

To serve your ionic app on local Lan via same Wifi you can use Command:

ionic serve --external

you will see external IP address in your terminal use that IP in your Mobile Device Browser.

Answered By – Najam Us Saqib

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply

(*) Required, Your email will not be published