gruntjs/grunt-contrib — pull request #22 by tkazec (2012-05-23 07:10:25+00:00)
Title: LESS improvements

Fix for #21. Uses the included async library to make things play nicely with each other. Comes with tests.

Some notes:

* Took an annoying amount of hours because apparently `.parse()` doesn't play nicely when called in parallel. Switched it to use `async.forEachSeries()` instead of `async.forEach()` and everything worked fine...
* There's a couple "cleanup" commits. They don't change much, I just made them along the way to help make debugging the above issue easier..but they're still beneficial enough to include.
* On a related note... Normally I don't mind, but in this case the code style really got in the way, especially the indentation and newlines. Just though I'd mention.
* And finally, took me a loong time to just figure out how to debug. Ended up forcing the main gruntfile to always print the stdout. Kinda weird and annoying :/

Enjoy!
/bedtime