gruntjs/grunt-contrib-jade — pull request #25 by gcpantazis (2013-04-03 00:59:54+00:00)
Title: Add ability to run jade over multiple processes via `grunt.util.spawn`

I've been working on a project that uses contrib-jade extensively; complex data models, medium-complex jade files. Everything's great, except the build time; as we've scaled it up the whole-project build has started to get pretty nutty.

SO, I've added the ability to break up jade tasks into separate processes, via a new `spawnProcesses` option. Works great with what we've thrown at it so far; tests have been added for various file combinations / globbing patterns.

As an example, this portion of our build has gone from this [ **72sec** ]:

![jade_before](https://f.cloud.github.com/assets/1161192/331712/028fa144-9bf9-11e2-8b04-e361d1c723f2.jpg)

to this (using six processes) [ **22sec** ]:

![jade_after](https://f.cloud.github.com/assets/1161192/331713/091ec706-9bf9-11e2-8d24-baf42cbeb4f7.jpg)

If you feel this is outside the scope of contrib-jade I'm happy to create a side-project instead, but I'd much rather it just live with the main plugin. Thanks, and yell with any issues / comments.