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

Vince Mendella
Vince Mendella
6,480 Points

test.scss not updating on a Mac

I put my files in a folder and named the folder called sass-test. I set sass to watch the folder. I used the code sass --watch sass-test. I make a change in the scss file but the css file will not change and I can see in the terminal that nothing happens. I quit watching the folder and watch the file and then it updates and you can see it working in the terminal.

Why won't it watch the folder?

1 Answer

I think the correct syntax to watch a folder is:

sass --watch sass:sass-test

that would specifically watch for sass files in the sass-test folder....if memory servers, its been awhile since I have used command line :)

let me know!