Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

CSS

Zinamarie Zeno
seal-mask
.a{fill-rule:evenodd;}techdegree
Zinamarie Zeno
Front End Web Development Techdegree Student 8,590 Points

Sass won't update unless canceled

I'm working on a small project and am using Sass. Recently though, I notice it will not update my file unless I hit ctrl+c to stop then run sass --watch . to watch the file again.

After doing some searching I updated all my gems and it's still the same problem. I'm at a lost as to what to do next. Is anyone else experiencing this problem?

I'm running sass v. 3.3.8 on Mac v. 10.9.3 if that helps.

5 Answers

Colin Marshall
Colin Marshall
32,861 Points

When you're inside of the folder with the .scss files, try typing it in like this:

$ sass --watch .:.
Colin Marshall
Colin Marshall
32,861 Points

Just so you know, the first period in that statement is telling sass to watch all scss files under the current directory, and the second period is telling sass to save the compiled css files to the same folder they exist in.