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
    St. Louis, MO
    Posts
    34,107
    Vote Rating
    453
    Answers
    3157
    mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of

      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
    ________________
    http://www.JSONPLint.com - Source to lint your JSONP!

    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 almost 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
    Frederick MD, NYC, DC
    Posts
    16,170
    Vote Rating
    32
    Answers
    83
    jay@moduscreate.com is just really nice jay@moduscreate.com is just really nice jay@moduscreate.com is just really nice jay@moduscreate.com is just really nice

      0  

    Default


    Are you re-deploying the compiled changes?

    Jay Garcia @ModusJesus || Modus Create co-founder
    Ext JS in Action author
    Sencha Touch in Action author

    Get in touch for Ext JS & Sencha Touch Touch Training

    We are also working on Video-based Sencha Touch training: Check it out here.

  4. #4
    Sencha - Sencha Touch Dev Team rdougan's Avatar
    Join Date
    Oct 2008
    Posts
    1,156
    Vote Rating
    4
    Answers
    93
    rdougan is on a distinguished road

      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.