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 trialBjørn Bergslien
21,478 PointsDart 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
Treehouse Moderator 91,253 PointsI'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 :)
Bjørn Bergslien
21,478 PointsFound a solution: Installed node-sass globally. It supports the --watch
command.
Bjørn Bergslien
21,478 PointsBjørn Bergslien
21,478 Pointshttp://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!"