Created
February 17, 2015 23:54
-
-
Save NickHeiner/35f5ceddd295d88e70e8 to your computer and use it in GitHub Desktop.
Grunt task control flow - a nicer way
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
grunt.registerTask(‘task-a’, function() { | |
var result = doStuff(); | |
grunt.task.run(‘task-b’).then(function() { | |
doMoreStuff(); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment