firstandthird / load-grunt-config

Grunt plugin that lets you break up your Gruntfile config by task
firstandthird.github.io/load-grunt-config/
MIT License
374 stars 64 forks source link

Best-Practice: Add function-callback support for tasks in e.g. grunt/aliases.yaml #34

Closed raDiesle closed 10 years ago

raDiesle commented 10 years ago

Add function-callback support for tasks in grunt/aliases.yaml

My use-case: I'd like to react on the result of a predefined task like nodeunit to e.g. prompt to ingore failture. The same goes for custom registeredTasks.

or e.g. the connect proxy task:

grunt.registerTask('server', function (target) {
    grunt.task.run([
        'configureRewriteRules',

        'connect:mypage',
        'open:page'

    ]);
});

How do you suggest perform?

Thanks

jgallen23 commented 10 years ago

Dupe of #18