5. After running
sencha app watch modern and opening http://localhost:1841/ what I would expect to see as the first item in left navigation is "Modern", what I see instead is "Classic"

Is it a bug or I am doing something wrong?

Regards,
Chris

joel.watson

22 Aug 2015, 3:31 AM

What are you viewing the url on? If it's on a desktop, this is the expected behavior as the "beforeLoad()" in index.html is matching the "desktop" tag and loading the classic manifest. If you emulate a tablet in Chrome (or pass ?modern" in the querystring), it will load the modern manifest.

The important thing to remember is that sencha app watch is not going to dictate what the content of localhost:1841 is (e.g., classic or modern) , only which build is being monitored for changes so that they can be rebuilt. Any other profiles that have already been built will still work if the conditions for loading them are met.