Closed blefebvre closed 8 years ago
Yeah, that's kinda to be expected. The hot loader server is really more about the HTML/CSS/JS, it doesn't know what platform cordova.js to serve. That would be a great addition if I could work it out.
At the moment, the hot reloading part of the plugin is more useful for iterating on the UI and the logic of the components.
I'll ask around the team and see if they have an idea how we could do it. Maybe at the very least it could serve the browser platform version of cordova.js
Another awesome feature would be to build in something like phonegap serve
that could use some kind of black magic to serve the hot reloading server to the PhoneGap Developer App.
Thanks for the quick response @devgeeks! I'll move over to the PG Dev app when I need to work on plugin-dependant functionality.
Best you can hope for with phonegap serve
for now is
npm run prepare -- browser && phonegap serve
I am looking into it though...
To reproduce:
Result: