question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Not work livereload after adding platform ios

See original GitHub issue

From @tenorok on April 15, 2016 21:26

Short description of the problem:

Not work livereload after adding platform ios.

What behavior are you expecting?

Livereload should work.

Steps to reproduce:

$ ionic start blankApp blank
$ cd blankApp/
$ ionic platform remove ios // It's important step!
$ ionic platform add ios
$ ionic build ios
$ ionic emulate ios --livereload

After that will launched simulator, in which infinitely spinning load indicator. 2016-04-16 0 15 10

But just emulate without livereloading work well:

$ ionic emulate ios

Run ionic info from terminal/cmd prompt: (paste output below)

Your system information:

Cordova CLI: 6.1.1
Gulp version:  CLI version 3.9.1
Gulp local:   Local version 3.9.1
Ionic Version: 1.2.4
Ionic CLI Version: 1.7.14
Ionic App Lib Version: 0.7.0
ios-deploy version: 1.8.6
ios-sim version: 5.0.8
OS: Mac OS X El Capitan
Node Version: v5.7.1
Xcode version: Xcode 7.3 Build version 7D175

Copied from original issue: driftyco/ionic#6184

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

7reactions
jordipuigcommented, May 20, 2016

For iOS, I’ve succeeded adding this line to config.xml:

<allow-navigation href="http://localhost:8100/*"/>

I found the answer at #605

I think #826 is related

3reactions
alphashurocommented, May 24, 2016

+1 for @jordipuig his solution worked for me, just had to add --address localhost to the ionic emulate ios -l command

Read more comments on GitHub >

github_iconTop Results From Across the Web

ios - ionic 4 - livereload does not work - Stack Overflow
Livereload on iOS device (ionic cordova run ios -l) with ionic 4 does not seem to work. It stuck at the initial loading...
Read more >
iOS builds old files and livereload doesn't work - Ionic Forum
When it runs it, livereload doesn't work, on phone and emulator. Remove the ios platform, re-add it. Then run the emulate command. So...
Read more >
Build Rock-Solid Ionic Apps Part 2: Mountain - Pluralsight
If you are working with JSON files in your app/ folder (for instance ... If we don't add some nice Cordova Plugins to...
Read more >
cordova-template-framework7-vue-webpack - npm
cordova run ios -- --lr (wait till app opens in your ios emulator or phone. it will close console output after publish, so...
Read more >
Running React with Ionic Capacitor & Live Reload
The Ionic Capacitor documentation doesn't really work for building ... react application with Capacitor and Live Reload so after hours spent ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found