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 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!