How to reload the app without quit emulator?


#1

as title.

because rerun the emulator is very slow.


#2

I suggest you to test you app directly in browser. Just refresh the page to see your changes.

In console, go to www folder and run this command: python -m SimpleHTTPServer 8000
Now go to your browser (chrome I recommand) and go to url http://localhost:8000


#3

I recommand to use the browser too because it’s easier too work with, and you have some intresting plugins like Batarang helping you to use scopes in Angularjs.


#4

OR you try app.phonegap.com -> thats what am using.


#5

Interesting ! I’m following the steps, but I’m not able to serve the phonegap app because it’s ionic app. How did you deal with ?


#7

Inside the your root of your ionic project, create a “.cordova” folder and create a “config.json” file inside of the .cordova folder with these content:

{
"lib": {
    "www": {
        "id": "com.phonegap.helloworld",
        "version": "3.4.0",
        "uri": "https://github.com/phonegap/phonegap-app-hello-world/archive/3.4.0.tar.gz"
    }
}

}

Save and try the “phonegap serve” from the command line again.


#8

it works like a charm. I’m very impressive Thank you.
Very usefull for sizing application on different device (ipad/iphone) !