These are chat archives for jescalan/roots

16th
Nov 2016
nathantiff
@nathantiff
Nov 16 2016 15:01
Hey everonye, I just inherited a new code base built around roots and it is compiling painfully slow. Around 12 minutes locally on a very specced out iMac. I'm just wondering if there are resources to improving compile time.
Kyle MacDonald
@kylemac
Nov 16 2016 15:17
@nathantiff there's a couple different reasons a build time like that could happen - its usually either its processing a ton of files or there are a lot of network calls to fetch data
there's a project called, https://github.com/carrot/roots-ignore which lets you set up rules around which files should actually be rebuilt after a change. this can dramatically speed up rebuilds locally if you're working on a particular section of the site and don't need the rest to be recompiled
then when you go to deploy, you'd just want to compile the site entirely and bear with the slow compile time
nathantiff
@nathantiff
Nov 16 2016 15:20
Okay yeah this looks perfect actually
local compiling is the main problem
Kyle MacDonald
@kylemac
Nov 16 2016 15:20
:thumbsup:
nathantiff
@nathantiff
Nov 16 2016 15:20
Thank you very much
Kyle MacDonald
@kylemac
Nov 16 2016 15:20
happy to help