Is it possible to parametrize already existing grunt task? F.e. there is a pages task where I would like to add some additional actions based on my custom parameter. I've been trying to add something like that in my application.js
...
pages: {
dev: {
someParam: true
}
},
...
and printing it inside pages.coffee:
grunt.registerMultiTask "pages", "generates static HTML files", (someParam) ->
grunt.log.writeln("#{someParam}"); //prints undefined
So it looks like the matter of passing value to task: what am I doing wrong?