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

Speeding up SCSS compile times without LIBSCSS

I build custom websites generally without the need for Bootstrap or Foundation but the sites are sizeable. When compiling my SCSS it will gradually as the site grows get slower and slower - Apart from using LIBSCSS is there any other ways to speed this up?

ā€¢ Currently my site takes 45 seconds to compile. ā€¢ I use "grunt-contrib-sass" within GRUNT. ā€¢ I have a base.scss stylesheet that imports all the partials (files with _name.scss)

The project is not a ruby project but we use ruby for the compiler.

I'm absolutely stumped and the compile team is affecting my team and the time it takes to build a project.

2 Answers

Matt Kelm
Matt Kelm
7,240 Points

Hi Sam,

I don't know that there's much you can do about the speed of the Ruby compiler--the dev team where I'm at uses LibSass for this very reason.

Thanks for your answer, we've built a few projects using some sass features that LIBSASS doesnt support yet -we'll have to wait!