I noticed that updating scss files while sencha app watch is running does not update the output CSS files correctly. I tried changing the parameters on the mixin I am using but the CSS output file's Modified Date in the file system is not updated. Even though I noticed that sencha app watch detects the changes the output is not correct (ie: I don't see the style being reflected in the UI).
I have to manually run sencha app build development just to ensure that the theme is built correctly.
Is this a normal behavior from Sencha CMD or I might have updated some config somewhere?
It is normal. If you change
scssfiles you need to run a build. Otherwise changes are not reflected incssfiles. Build is not triggered bysencha app watchsince it can take tens of seconds, and the point ofwatchis to reflect changes in your code almost immediately (hot refresh).The same goes for adding new classes with
Ext.define, although in this case asencha app refreshcommand is enough.EDIT: according to the documentation,
sencha app watch --fashionupdates the styles when changed.