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

Cavan Biggs
Cavan Biggs
25,212 Points

Sass compile time very slow.

Whenever I make a change in a .scss file it's taking almost 5 minutes to see the changes reflects in the .css fiile. Not only that it's slowing my mac-mini down to a screeching halt, all my programs are taking forever to respond. Once I shut down watch everything speeds back up, I can't work with sass if this is how it's going to be. I'm thinking I have to upgrade my Ram.

4 Answers

No need to upgrade your ram, concerning this topic. I was running the exact same problem, until I figured out that the command sass --watch . was going through – logically – all the files that were on my desktop, since that was the directory I was working on. Even the ones inside folders.

So make sure the directory you're working on have only the files you need. That way the compile delay should be minimal (or zero).

I'm on an old mac and it's instantaneous. Can you post some details? How are you compiling your sass? Are you over nested? Any details would help.

Cavan Biggs
Cavan Biggs
25,212 Points

I was just following along doing the simple exercises.

Here are my mac's details Processor 2.3 GHz Intel Core i5 Memory 2 GB 1333 MHz DDR3 Graphics Intel HD Graphics 3000 288 MB

Specs alone, you're machine is way stronger than mine. Sorry but I'm not sure where to point ya. You can't work with Sass...I can't work without it!