I am self teaching Ionic framework i have loaded up the ionic start myApp tabs
according to the Getting started page from Ionic framework (http://ionicframework.com/getting-started/)
Everything is good, up and running on my mac, can serve and can emulate. Now... when I used the ionic upload
to the Ionic View app on my mobile its fine - everything as expected.
BUT when i changed something for example in the controller.js file:
.controller('AccountCtrl', function($scope) {
$scope.settings = {
enableFriends: true
};
});
to enableFriends:false
and I ionic upload
again, then i 'sync to latest' on the Ionic View app on my iphone... I am still getting the enableFriends:true (because the option was set to true - switch is green)
ionic build ios
before the ionic upload
, I tried to delete the app in the Ionic View app on my phone and re uploaded it.So I am suspecting that the controllers.js is cached... if yes.. how can i clear this cache??!!!
For anyone that may be viewing this that may be having a problem with this in Ionic V2 apps not updating in the Ionic View App the process to execute is:
You'll notice that when you run ionic serve the build process executes which will update your files. Then you upload and your changes will be there. I hope this helps someone in the future.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With