butterywombat
butterywombat

Reputation: 2089

compiling sass (using compass) via 'watch'

What is the difference between using sass --watch and compass watch to poll for changes in sass files and compile?

Also, I'm doing this in an RoR app, and sass compiles automatically (is this the default?). When would I need to use these commands?

Upvotes: 0

Views: 1129

Answers (1)

Maxime Fabre
Maxime Fabre

Reputation: 2252

Doing sass --watch will just compile everything using bare Sass, while doing compass --watch is (in a simplified way) the same as doing sass --compass --watch. If you just do sass --watch, every compass related import, such as @import compass/css3/ per example, will not be recognized.

Using Compass in general offers a lot of helpers regarding assets paths, mixins and so forth. If you need more information I recommand looking at the Compass official website.

Upvotes: 2

Related Questions