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 trialGessica Ceravolo
Courses Plus Student 10,519 PointsRuby console does not detect changes
Hi there! I have just started learning Sass, and I have already got issues xD I downloaded ruby console, which seems working fine, and I use Notepad++ text editor. I created a simple scss file, opened it in the console ( sass test.scss), without running into problems. When I start watching it, though ( sass --watch . ), the console does not detect changes I make to the scss. I tried to google it, but could not find any helpful answer. P.s. when I close and reopen files (scss and its output css) in the text editor, changes then appear. How can I make it work???
4 Answers
Danielle Hill
26,062 PointsI just solved this same problem. I created test.scss on my Desktop and although I was in that directory on the command line my changes were not detected. I tried creating a folder called Sass on my Desktop, changing my directory to that folder and creating a test2.scss file. When I executed the "sass --watch ." command it worked! I can't explain it why it worked (I wish I could), but it's worth a try. Good luck!
Michael Nickey
Courses Plus Student 13,524 PointsI know this is probably NOT the answer but are you saving the files? Are you making changes to the right ones? The reason I am asking this is because I had a very similar thing and was wondering why my changes were not appearing. I forgot to a) save the file but another time I was even in the wrong directory.
Check the small things first is what I'm trying to say...
Gessica Ceravolo
Courses Plus Student 10,519 PointsHi, thanks for your tip Michael, but still haven' t found the problem...
Gabriel Rosario
23,602 PointsI have that problem to!!!!!!