23 Jan 2012 6:29 AM #1
Unanswered: Changing/Deleting js files under MVC's app folder doesn't cause any change.
I started learning sencha a few days ago so I want to try and play around with MVC a little bit. ( I mainly developed on iOS platform ).
I installed phonegap and managed to make it run on an iPhone.
Next, I tried playing with Kitchen Sink, but even if I delete all the codes in store/Demos.js or view/Main.js, it doesn't show any changes. Deleting the file won't do either. I tried working on a new project and creating something in side app and it doesn't load either.
I've been trying many things like clearing the phone's cache, delete and re-link, but nothing works.
help would be greatly appreciated.
23 Jan 2012 8:08 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
PhoneGap is either keeping a cache or has a copy of the files somewhere else. This is not a ST2 thing.Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services email@example.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.
23 Jan 2012 9:28 AM #3
23 Jan 2012 10:00 AM #4
Some tips when running into cache issues like this in Xcode:
- try Xcode -> Project -> Clean
- restart Xcode/iOS simulator
- try iOS Simulator -> Reset content and settings
If none of these works, it's likely an issue with the code itself. Perhaps linking to the wrong file, or the compiled version of the example (KitchenSink is compiled).