Assemble is now able to directly take a generator function as a task function. This removes the need for a callback when running synchronous code inside tasks.
From
app.task('load', function(cb) {
app.layouts(['src/layouts/**/*.hbs']);
app.partials(['src/partials/**/*.hbs']);