See inline.
On Thursday, September 15, 2016 at 9:37:08 AM UTC-5, Adam Fellon wrote:
> Thanks for the reply.
>
> 1. In the process of updating to >4.1.1 (and this is part of the reason I was asked to look at it). When I made the upgrade to 5.0.0 I actually saw a JS change (once!). I was excited because I had read that others had success with cordova platform rm android && cordova platform add android. (think this has something to do with it creating a new project?). After that first build those all subsequent builds didn't show updated JS changes :(
>
After you build, check the contents of the generated APK. Does the APK show your changes? (I'm guessing not, but I want to be certain.)
Sometimes the platform configurations get mucked up. An rm & add just nukes the platform and reinstalls it, which can help in that situation.
>
> 2. changes for this are being done @ projectroot/www/js/controllers/AppCtrl.js, does it matter where i run the prepare? I'm running that in the project root.
>
Cordova CLI commands are smart enough to figure out where the project root is, so it doesn't matter where you run the command from (as long as you're within the project structure).
I'm curious -- does this app have a build step? For example, my apps that use modern JavaScript need to be transformed using Babel during a build step. Usually my original source lives in project-root/src and then the build step transforms it into project-root/www.
>
> 3. cordova -v, results w/ 6.3.1, phonegap -v 6.3.0
What OS are you running on your dev machine?
Also, what version of Node & NPM do you have installed?
Finally, what commands, exactly, are you using to run the app on your emulator after you've made changes to your code?