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

Giuseppe Nardella
Giuseppe Nardella
17,790 Points

Sass watch doesn't work

Hi, I'm tryink the Sass Basi lesson in Web design track. But when i type sass --watch. , everything works except that I see write ./test.css instead of overwrite ./test.css and my css file isn't updated when I make same changes?

Windows 8.1
Sass 3.4.13
Ruby 2.2.1p85

3 Answers

Karalyn Heath
Karalyn Heath
18,033 Points

Make sure you save the scss file otherwise the changes won't appear in your css file. Also be sure your terminal is in the correct directory.

Giuseppe Nardella
Giuseppe Nardella
17,790 Points

Now seems to work, but I have to move my files in other folder from my desktop.

And, when I change my .scss file, in my terminal I see write ./main.css instead of overwrite ./main.css

MΓ‘ire van Blerck
MΓ‘ire van Blerck
11,475 Points

I've got the same problem.. sass --watch try.scss gave me 2 new files; try.css and try.css.map on my desktop.

and the terminal printed:

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

If I make changes in the .scss file and save it, it doesn't update or watch anything..

A virtual kiss for the rescuer!