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

Aaron Wuerch
Aaron Wuerch
7,024 Points

sass --watch . does not find my test.css file ?

Hi there,

I have sass set up properly and I can get test.scss to give my back a positive response in the compiler,

but when I have test.css and test.scss (both in desktop), and run the sass --watch . command, It will not find my test.css to overwrite the file? It just says that is is "watching for changes .. press cntrol c to stop"

Running Windows. yes I cd desktop. Both test.scss and test.css are text files.

Thanks in advance.

Aaron Wuerch
Aaron Wuerch
7,024 Points

I have also tried restarting command prompt

1 Answer

Jonathan Grieve
MOD
Jonathan Grieve
Treehouse Moderator 91,253 Points

First of all, instead of quitting the command prompt completely do use ctrl/cmd+c to stop Sass running and then try the command again

sass --watch .

If that doesn't work try this one

sass --watch test.scss:testcss` giving an explicit file name for Sass to test for.