Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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,162 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.