sindresorhus/grunt-concurrent — pull request #13 by mbuchetics (2013-06-07 12:10:07+00:00)
Title: Support for command line arguments

So far, command line arguments of the concurrent tasks were not supported and arguments given to the "parent" task were lost when the children are spawned.
I simply wanted to forward the arguments (`grunt.option.flags()`) to the children, which is now possible with an additional option called `args`:

```javascript
concurrent: {
options: {
logConcurrentOutput: true,
args: grunt.option.flags()
},
dev: {
tasks: ['nodemon:dev', 'watch:css']
},
production: {
tasks: ['nodemon:production', 'watch:css']
}
```

You could also use this to set any other command line argument (args is an array). In the above example, the args array is the same for both "dev" and "production" tasks, but you can also set them individually like any other grunt option:

```javascript
concurrent: {
dev: {
tasks: ['nodemon:dev', 'watch:css']
option: {

},
production: {
tasks: ['nodemon:production', 'watch:css']
}
```