guardian/frontend — pull request #5770 by sndrs (2014-08-29 12:58:20+00:00)
Title: Run Sass in grunt with concurrency

- breaks sass into 3 distinct groups that can be run concurrently, based on our files:
1. modern
2. old-ie
3. ie9
- running concurrently means the tasks run in their own grunt process, meaning `isOnlyTask` evaluates to true in concurrent tasks, so there’s a a 2nd check for `fullCompile` which will prevent `isOnlyTask` tasks running (so far, hashing).
- `px_to_rem` is no longer run in `—dev`
- ~~individual `compile` tasks run the relevant `clean` task before hand (files that had junked as part of this work caused hashing errors - nothing major, just helps a bit to do this)~~ this broke the default task. ignoring for now

Interestingly (I thought), because concurrent tasks run in their own process, compiling *all* sass files concurrently is far slower than it is now.

As far as I *know* this doesn’t cause any issues with compilation...

before
![grunt current](https://cloud.githubusercontent.com/assets/867233/4090106/9c11952a-2f78-11e4-82bb-23a50a343852.png)

after
![screen shot 2014-08-29 at 13 19 59](https://cloud.githubusercontent.com/assets/867233/4090107/9eb9b9a6-2f78-11e4-878c-5b88778cae47.png)