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!

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 Sass Basics (retired) Getting Started with Sass Installing and Using Sass

Rhys Baker
Rhys Baker
8,200 Points

Sass overwrite problem (not solved in Tyler Hass' thread)

When I try to --watch my Sass file it gives me a write, rather than overwrite, file to work with. It doesn't automatically update. There are no error warnings. What am I doing wrong? Any help?

Macintosh-7:~ rhysdb$ sudo sass --watch .

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

1 Answer

Seth Barthen
Seth Barthen
11,266 Points

Rhys are you making sure you run that command in the folder of where your Sass files are? I can't really tell based on what you wrote but it looks like you are in some root directory.

With Compass(a Sass library) I have been able to run Compass watch(similar to --watch Sass) in the entire directory of my project, but when I would use vanilla Sass I had to change directory to the CSS folder before running it. Maybe I'm wrong, but it's worth a shot!