is there an easy way to build only css files from sass files in extjs project without running the whole build process? I know I could create a config file for compass and use compass watch but isn't there a simpler way?
-
1You don't need any config file, just start "compass watch" in your sass folder while developing.Darin Kolev– Darin Kolev2013-05-29 02:42:50 +00:00Commented May 29, 2013 at 2:42
-
Nope, doesn't work. "Nothing to compile. If you're trying to start a new project, you have left off the directory argument. Run "compass -h" to get help."szym– szym2013-05-29 09:00:39 +00:00Commented May 29, 2013 at 9:00
-
Sorry, you have to run it in your main project folder, not in your sass folder.Darin Kolev– Darin Kolev2013-05-29 10:10:32 +00:00Commented May 29, 2013 at 10:10
-
Still doesn't work, "Nothing to compile....."boatcoder– boatcoder2013-11-26 21:29:39 +00:00Commented Nov 26, 2013 at 21:29
Add a comment
|
1 Answer
It is possible to use the command "sencha ant sass" to recompile the CSS using Sass. With Sencha Cmd 4 the command "sencha app watch" will also recompile CSS when needed.
Note that simply running "compass watch" no longer works with Ext JS 4.2 since the theme structure changed.
Source: http://www.sencha.com/blog/using-the-new-app-watch-command-in-sencha-cmd-4/
1 Comment
bennos
sencha ant sass still works with cmd 6.5. Add development as sencha ant development sass to generate a readable .css