Skip to content

Instantly share code, notes, and snippets.

@NickHeiner
Created February 19, 2015 18:57
Show Gist options
  • Save NickHeiner/358e3fc96c8189b0a5a5 to your computer and use it in GitHub Desktop.
Save NickHeiner/358e3fc96c8189b0a5a5 to your computer and use it in GitHub Desktop.
A better way
grunt.registerTask(‘task-a’, function() {
var result = doStuff(),
taskBFn = require('task-b');
taskBFn({
runtimeGenerated: arbitraryConfig();
}).then(function() {
doMoreStuff(result);
})
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment