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 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,556
    Answers
    3931
    Vote Rating
    1272
      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! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  3. #3
    Sencha User jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    DC Area =)
    Posts
    16,364
    Answers
    102
    Vote Rating
    86
      0  

    Default

    Are you re-deploying the compiled changes?

  4. #4
    Sencha User 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
  •