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?
Asked
Active
Viewed 6,625 times
2

szym
- 3,028
- 2
- 20
- 32
-
1You don't need any config file, just start "compass watch" in your sass folder while developing. – Darin Kolev May 29 '13 at 02: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 May 29 '13 at 09:00
-
Sorry, you have to run it in your main project folder, not in your sass folder. – Darin Kolev May 29 '13 at 10:10
-
Still doesn't work, "Nothing to compile....." – boatcoder Nov 26 '13 at 21:29
1 Answers
6
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/

Ricardo Machado
- 327
- 3
- 4
-
`sencha ant sass` still works with cmd 6.5. Add `development` as `sencha ant development sass` to generate a readable .css – bennos Oct 13 '17 at 06:59