Hacker News new | ask | show | jobs
by jypepin 4032 days ago
We use grunt at work, and it starts to pain us. Now that our assets pipeline got pretty big, our whole grunt built takes ~30 sec (+10s just for sass and browserify, each).

I do feel like most of the slowness is the actual compile time though, not because of grunt or whatever runs the compilation.

I'll try to implement brunch and see how it can outperform grunt on this. Hopefully it will make it better!

3 comments

If you're doing the whole thing every time, that would be your biggest problem, regardless of tools. It sounds like Brunch does incremental builds out of the box, which would definitely help you, but you can setup Grunt or gulp to do the same thing. It just takes a little work.

We do that with gulp, and after the initial file runs (~8-10 seconds), updates are instant every time.

We switched to gulp and changed the workflow so that it's very fast now. Brunch sounds nice, but we just changed from grunt to gulp, so I doubt anyone has the energy to make the switch once again.
Are you using libsass? The latest release is pretty much at the same level in terms of features than the ruby one and should be much faster