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 CSS to Sass Installing Sass and Setting up the Project The --watch Command

Dart Sass? --watch command not working

I had Ruby Sass 3.5.6 installed and the --watch command was working fine. But then I suddenly got Dart Sass instead (after an update I think) and the --watch command is not working anymore. Does anyone know what to do?

2 Answers

Jonathan Grieve
MOD
Jonathan Grieve
Treehouse Moderator 91,253 Points

I've not come across that before, I have to say. But it sounds like Dart Sass is a kind of "Beta" version of Sass that is installed on your system. So it seems to get the newest features of Sass before anything else. You may have accidentally introduced it to your version of Sass with a command or something.

Again I'm a bit hazy. I suggest trying to reinstall Sass to your previous version and the watch command should return :)

http://sass.logdown.com/posts/7081811

"If you use Ruby Sass as a command-line tool, the easiest way to migrate is to install Dart Sass as a command-line tool. It supports a similar interface to Ruby Sass, although it currently doesn't support the --watch or --update flags—adding them is high priority, though!"

Found a solution: Installed node-sass globally. It supports the --watch command.