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 Improve Your Workflow with Sass Nested Selectors

Not transferring the change between style.scss and style.css

I tried --watch for sass to transfer between style.scss to style.css but its not working. What can I do to fix this issue? And there was an error shown when I typed the sass --watch style.scss:style.css. Error said , "error No such file or directory @rb_sysopen - style.scss.

2 Answers

serenahendrickson So without being able to see your file structure, I cannot be completely certain of the solution to your issue, but the error message is saying that there does not exist a file called "style.scss". Did you maybe accidentally name it style.sass or put it in a separate folder? I would rewatch the video and make sure you are doing everything exactly as Guil does it. Let me know if you figure it out!

Hi Ryan, I will try that. thank you!

Lisa Walters
seal-mask
.a{fill-rule:evenodd;}techdegree
Lisa Walters
Front End Web Development Techdegree Student 11,336 Points

For others who might have this trouble, make sure there is no space between the colon and css. I had this same problem, and it turned out to be because I typed: sass --watch scss: css

instead of

sass --watch scss:css

Hope that helps!