gruntjs/grunt — pull request #1026 by piuccio (2014-01-14 02:20:29+00:00)
Title: Make all tasks asynchronous to reduce call stack

I'm having a weird error when running grunt with lot of tasks (~500).

The issue happens while running grunt-uglify but the root cause is the high number of multi tasks.

```
[RangeError: Maximum call stack size exceeded]
>> Uglifying source "rtl/dist/widget.history.unpack.js" failed.
Warning: Uglification failed.
Maximum call stack size exceeded.
Use --force to continue.
Aborted due to warnings.
```

With this pull request all tasks are now asynchronous and next task will run in a 'new' stack after the next tick.

This is very similar to gruntjs/grunt-contrib-imagemin#132