The place where I was working was pretty big and had probably 10 big teams handling different parts of their site, to compile your project you compiled the whole site. Furthermore it did stuff like compiled images every time although image assets were hardly ever added. Compile times at times could be in the minutes. Not to mention that their gulp file was badly written.
A redesign of the whole compilation process was undertaken - assets that were global were compiled through a different process and you pulled the precompiled results, assets that were hardly ever touched in the normal development flow were not automatically compiled instead you had to call the process to compile them, only paths or asset types that had been changed were compiled - thus if no sass files had been touched no style compilation happened, and finally you no longer had to compile everybody's subsection of the site only your own. Compile time was generally less than a second for our part of the site on my machine.
Comments
I'm working on a 1.6Ghz CPU and compile times are a frustrating several seconds.
The place where I was working was pretty big and had probably 10 big teams handling different parts of their site, to compile your project you compiled the whole site. Furthermore it did stuff like compiled images every time although image assets were hardly ever added. Compile times at times could be in the minutes. Not to mention that their gulp file was badly written.
A redesign of the whole compilation process was undertaken - assets that were global were compiled through a different process and you pulled the precompiled results, assets that were hardly ever touched in the normal development flow were not automatically compiled instead you had to call the process to compile them, only paths or asset types that had been changed were compiled - thus if no sass files had been touched no style compilation happened, and finally you no longer had to compile everybody's subsection of the site only your own. Compile time was generally less than a second for our part of the site on my machine.