1. #1
    Sencha User
    Join Date
    Jan 2012
    Posts
    1
    Vote Rating
    0
    kalanyuz is on a distinguished road

      0  

    Default Unanswered: Changing/Deleting js files under MVC's app folder doesn't cause any change.

    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.

    Best Regards,

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,547
    Vote Rating
    872
    Answers
    3566
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    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 Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    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 services@sencha.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.

  3. #3
    Sencha - Community Support Team jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    DC Area =)
    Posts
    16,364
    Vote Rating
    81
    Answers
    102
    jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all

      0  

    Default


    Are you re-deploying the compiled changes?

  4. #4
    Sencha - Sencha Touch Dev Team rdougan's Avatar
    Join Date
    Oct 2008
    Posts
    1,158
    Vote Rating
    6
    Answers
    93
    rdougan will become famous soon enough

      0  

    Default


    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).
    Sencha Inc.
    Robert Dougan - @rdougan
    Sencha Touch 2 and Ext JS 4 Core Team Member, SASS/Theming Wizard.