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!

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 Getting Started with Sass Compiling Sass to CSS

Enyel Cuadro
Enyel Cuadro
12,884 Points

compile sass from douments/scss/sample.scss

How to compile and watch sass if the scss file is inside the folder?

1 Answer

In the command prompt you need to change the directory by using cd (which means change directory) and then insert the path to the folder you are hosting all of your files in. For example when I am compiling, in command prompt I type:

cd C:\Users\Dev\OneDrive\Dev\Treehouse\Unit 5\2 Sass Basics\1 Compiling CSS to Sass

Press enter. Then you can follow along with the rest of the instructions.

Bryan Cortez
Bryan Cortez
Front End Web Development Techdegree Student 6,176 Points

Thank you! I installed CSS using Chocolately and I couldn't figure out how to get command prompt to open my scss file. This did the trick.