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 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 seal-36
Lisa Walters
Front End Web Development Techdegree Graduate 15,255 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!