After running this command it will prompt you to select what address you would like to use one is localhost and the second one is your machine IP address. Here's my ionic info if it helps, any insight would be appreciated: Ionic:Ĭordova CLI : 9.0.0 Platforms : android 8.1.0, ios 5.0.1Ĭordova Plugins : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 4.1. Here is what worked for me: stop ionic service if you running it 'q' command. This cli command will correctly set the environment: ionic cordova emulate android -configuration=qaĪnd this will correctly run with livereload: ionic cordova emulate android -livereloadīut when I attempt to combine the flags: ionic cordova emulate android -livereload -configuration=qaĭata path "" should NOT have additional properties(browserTarget). This is a guest post from Simon Grimm, Ionic Insider and educator at the Ionic Academy.Simon also created the Built with Ionic book where he breaks down popular apps like Netflix and rebuilds them completely with Ionic styling and interactions. But when I am changing something in one of the html files of application, I dont see changes on emulator. By command line looks like live reload works. I set my environments up according to the docs here: I am trying to make work Ionic 2 live reload with ionic run android -livereload command. I seem to be having an issue using both the configuration flag and the livereload flag when running my Ionic 4 app on an emulator or device. ionic-app-scripts serve v2 browser chrome address 0.0.0.0 port 8101 livereload-port 35730 01:18:46 ionic-app-scripts 1.1.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |