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 (retired) Getting Started with Sass Installing and Using Sass

Jessica Overbey
Jessica Overbey
507 Points

test.css not updated on click

When I do the sass --watch . command, the "overwrite ./test.css" message does not appear below the "Sass is watching for changes..." message, and updates do not appear until I stop watch with Ctrl-C. Any idea how I can get the changes to occur when I save test.scss and click to test.css? Thank you!

Jessica

2 Answers

Alexander Dolgan
Alexander Dolgan
5,208 Points

Hey, 1) type sass -v - if is installed 2) you start watching in the same folder (in video Desktop) and file test on this folder (Desktop) 3) try - sass --watch test.scss

Jessica Overbey
Jessica Overbey
507 Points

Thank you, but this is still not working. Terminal has now added "write test.css write test.css.map"

under the "Sass is watching for changes" message, but it hasn't added the "overwrite" message and is still not overwriting test.css with my changes.

Alexander Dolgan
Alexander Dolgan
5,208 Points

so, you have test.scss file, and when you add new lines and save file, nothing happened? can you check in what directory you start sass watching