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 before ionic 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:

  1. ionic serve
  2. ionic upload
  3. 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

Popular posts from this blog

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -

ubuntu - Selenium Node Not Connecting to Hub, Not Opening Port -