Signup for the Ionic Newsletter to get the latest news and updates!

  • Xeoncross

    How do you access the cordova object in javascript when using ionic serve? Or do you have to `ionic build browser` every single time you want to see your changes?

  • Gaurav Chandra

    I used the whitelist plugin and after that the emulators, android and ios, stopped refreshing. Earlier they were able to. I have allowed everything as white list but still.

    • Gérald PLUSQUELLEC

      use in index.html

      • Gaurav Chandra

        I had to remove this tag every time i did serve as the port was changing. when I build the app, then I add this meta.

  • Amit Singh

    I add some code on ionic.project.JS update very fine .But css not update

  • Markus Reich

    I tried it with ionic run android –livereload, but then I got problems with cordova camera plugin => Not allowed to load local resource: file:///storage/emulated/0/Android/data/

  • Vinod Shintre

    hmm seems like latest CLI 1.7.13 does not emit logs on ionic run android -l -c command
    anyone facing this issue

    • Flint

      Thank you very much

  • Mark Rupert

    I am trying to use the live reload. The app comes up but my API POSTs are not working. I added the following to my PHP API: header(“Access-Control-Allow-Origin: ‘*'”);

    But I am getting this error:
    XMLHttpRequest cannot load Response to preflight request doesn’t pass access control check: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘’ is therefore not allowed access.

    • Andy Bolaño Castilla

      Have you found a solution to this problem?

      • Florentin Blanc

        Having the same issue, still looking for a solution.
        If you did solve this problem, please share your advices . 🙂
        Thanks !

  • Demo Narola

    How to Live reload work in device?

  • ullas77

    for latest ionic 3 try above command with ionic cordova