2

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?

4
  • 1
    You don't need any config file, just start "compass watch" in your sass folder while developing. Commented 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." Commented May 29, 2013 at 9:00
  • Sorry, you have to run it in your main project folder, not in your sass folder. Commented May 29, 2013 at 10:10
  • Still doesn't work, "Nothing to compile....." Commented Nov 26, 2013 at 21:29

1 Answer 1

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/

Sign up to request clarification or add additional context in comments.

1 Comment

sencha ant sass still works with cmd 6.5. Add development as sencha ant development sass to generate a readable .css

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.