Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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.