Have you actually tried this? It still outputs colors.

Should be:

```
var captureOutput = function (child, output) {
			if (grunt.option('color')) {
				child.pipe(output);
			} else {
				child.on('data', function (data) {
					output.write(data.replace(/\x1b\[\d+(;\d+)?m/g, ''));
				});
			}
		};
```