PDA

View Full Version : Rapid .scss development w/o using 'sencha app build testing' for each change



dojabr
19 Dec 2012, 12:00 PM
All,

After creating an Extjs4 app w/ Cmd, i'm currently having to run


sencha app build testing

each time i make a change to my 'app.scss' just for the sake of having compass convert it to css.

What's the recommended approach to rapid .scss development in the Cmd layout/framework?

Thanks
doug

dongryphon
20 Dec 2012, 1:15 AM
The "sencha app build" command ultimately delegates into the "build.xml" file generated for your app - that build script has several targets that can be run individually.

In this case, the "sass" and "theme" targets may be helpful to run by themselves. For example "sencha ant sass" or "sencha ant theme".

The guts of the build process can be explored in the ".sencha/app/build-impl.xml" file. I would not recommend changing it as it will be replaced when you upgrade Cmd... but reading it can be very enlightening.