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

Why doesn't my test.scss file automatically update changes to my test.css file?

When I make a change to my test.scss file my test.css file is not automatically updated. If I exit the terminal and do the command sass-watch . everything gets updated appropriately...does anyone have any suggestions to fix this?

4 Answers

Andrew McCormick
Andrew McCormick
17,730 Points

you say that if you exit the terminal and run --sass watch that it works? if you exit the terminal where are you running the command from? should be if you enter the terminal and run it.

kushalmahajan2
kushalmahajan2
7,683 Points

What he means is that if he restarts the terminal,then only the changes are updated. Does anyone found a solution as I am having same problem.

Piotr Marciniak
Piotr Marciniak
4,813 Points

I'm having the same problem. I'm running the command:

Piotrs-MacBook-Pro:~ PiotrMarciniak$ cd Desktop/ Piotrs-MacBook-Pro:Desktop PiotrMarciniak$ sass --watch .

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

as well when I exit the terminal and do the command sass-watch . everything gets updated appropriately

Jose Lupianez
Jose Lupianez
4,653 Points

I had to run sudo gem install listen to fix it.