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

General Discussion

Adrian Pineda
Adrian Pineda
13,778 Points

Problems With Sass Watch

I have Sass 3.3.8 (Maptastic Maple) running on my Mac but when I write my code in my .scss file it doesn't copy into my .css file. I when I check the Sass I get: sass --watch What files should I watch? Did you mean something like: sass --watch input.sass:output.css sass --watch input-dir:output-dir Use --trace for backtrace. So I am not sure if i have to set the exact file for Sass to watch. Any help is appreciated! Thanks,

5 Answers

Michael Hulet
Michael Hulet
47,913 Points

You just have to tell Sass which directory to watch. Use cd to switch to the directory you're making your project in, then type sass --watch . . These 2 commands will get you there:

cd <directoryofyourproject>;
sass --watch .

Or, you could also directly tell Sass which directory you want, without using cd:

sass --watch <directoryofyourproject>
Adrian Pineda
Adrian Pineda
13,778 Points

Thanks Michael, I'll give it a try and see how it goes.

Adrian Pineda
Adrian Pineda
13,778 Points

Actually, I think i will download 'Scout' in order to finish this track and then take the Ruby course later. I have no experience with command line, or unix at all. Thanks again, Aaron

missgeekbunny
missgeekbunny
37,033 Points

Sounds like you need to start with console basics or something along those lines on here int he development tools section. It should help you understand your way around the console and be able to do everything you need to do to develop in it. Well except git but they have a whole separate class for that.

Adrian Pineda
Adrian Pineda
13,778 Points

Hi bunnie, Thanks for the help. Do you recommend starting with console before the Ruby basic course?

Michael Hulet
Michael Hulet
47,913 Points

I'm taking the Rails Development track right now, and you learn Console Foundations before you even begin with Ruby

Adrian Pineda
Adrian Pineda
13,778 Points

I just started console foundations and I can see this is some pretty power stuff. I'll start here!