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

Laura Cressman
Laura Cressman
12,548 Points

Can't use sass -- watch .

Hi everyone, I'm trying to finish the Sass lessons, but in the command line, when I type in sass -- watch . , everything works except that I see write ./test.css as opposed to overwrite ./test.css. When I open test.css, I just see a blank file. Help? :) Thanks, Laura

5 Answers

I had the same problem, but is fixed now. Check this discussion https://teamtreehouse.com/forum/watch-doesnt-work-sass-340

"--watch" is how you should be structuring it, so "sass --watch ." and not "sass --(space)watch ."

Laura Cressman
Laura Cressman
12,548 Points

Hi Ninyo, I am actually typing it in without the space, since I'm getting almost the right output, but just with the word "write" instead of "overwrite." Do you know how to address that issue?

Joseph Bramall
Joseph Bramall
12,211 Points

I'm having the same problem:

Josephs-MacBook-Pro:sass josephbramall$ sass --watch .

Sass is watching for changes. Press Ctrl-C to stop. write ./test.css [Listen warning]: Listen will be polling for changes. Learn more at https://github.com/guard/listen#polling-fallback.

I can't get past this. I'm in the right directory etc too...

Mackenzie Dickson
Mackenzie Dickson
5,371 Points

I'm having the same issue, Laura. Mine says Sass is watching for changes. Press Ctrl-C to stop write./test.css. It does not mention anything about Listen will be polling like it shows in the video and like Joseph has mentioned above. Anyone know what to do to fix this?

Cameron Bourke
Cameron Bourke
10,198 Points

Sorry to bring up an old thread guys, but I am having this issue now haha. Did you guys end up finding a fix for it?

Cheers.