Results 1 to 4 of 4

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

  1. #1
    Sencha User
    Join Date
    Jan 2012
    Posts
    1
    Vote Rating
    0
      0  

    Default 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 - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,412
    Answers
    3898
    Vote Rating
    1288
      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 @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it!

    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 User jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    DC Area =)
    Posts
    16,364
    Answers
    102
    Vote Rating
    87
      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,159
    Answers
    93
    Vote Rating
    7
      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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •