grunt.registerMultiTask('build','Builds the app according to the environment',function(){
var env = this.target;
var outputDirs = {
development:'dev',
production:'dist'
};
grunt.config('dirs.output',outputDirs[env]);
grunt.task.run('jshint');
grunt.task.run('less:'+env);
grunt.task.run('includereplace:' + env);
grunt.task.run('concat:'+env);
grunt.task.run('uglify:'+env);
grunt.task.run('copy');
grunt.task.run('clean');
});
I'm trying to add includereplace, to a multitask, but it simply doesn't works, it do nothing...
Can you check if the task runs with multitask?