Skip to content

Instantly share code, notes, and snippets.

@NickHeiner
Created February 17, 2015 23:54
Show Gist options
  • Save NickHeiner/35f5ceddd295d88e70e8 to your computer and use it in GitHub Desktop.
Save NickHeiner/35f5ceddd295d88e70e8 to your computer and use it in GitHub Desktop.
Grunt task control flow - a nicer way
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