Ionic Framework - Uploading to Ionic View app, not getting latest javascript files, possibly cache still exists? -
i self teaching ionic framework have loaded ionic start myapp tabs
according getting started page ionic framework (http://ionicframework.com/getting-started/)
everything good, , running on mac, can serve , can emulate. now... when used ionic upload
ionic view app on mobile fine - expected.
but when changed example in controller.js file:
.controller('accountctrl', function($scope) { $scope.settings = { enablefriends: true }; });
to enablefriends:false
and ionic upload
again, 'sync latest' on ionic view app on iphone... still getting enablefriends:true (because option set true - switch green)
- just let know,
ionic build ios
beforeionic upload
, tried delete app in ionic view app on phone , re uploaded it.
so suspecting controllers.js cached... if yes.. how can clear cache??!!!
for may viewing may having problem in ionic v2 apps not updating in ionic view app process execute is:
- ionic serve
- ionic upload
- clear app data on view app
you'll notice when run ionic serve build process executes update files. upload , changes there. hope helps in future.
Comments
Post a Comment