How to use the bach.series function in bach

To help you get started, we’ve selected a few bach examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github micahlmartin / nuts / gulpfile.js View on Github external
gulp.task('default', ['clean'], function(cb) {
  bach.series(styles, scripts, images, fonts)(function(err) {
    if(err) {
      handleErrors(err);
    } else {
      return cb();
    }
  })
})

bach

Compose your async functions with elegance.

MIT
Latest version published 2 years ago

Package Health Score

74 / 100
Full package analysis