stoeffel / gulp-param

Add params to your tasks
26 stars 8 forks source link

How can I get done callback inside my task? #71

Open beto-aveiga opened 7 years ago

beto-aveiga commented 7 years ago

Hi! When using gulp-param I can't use done function to tell when my task with async functions ends.

gulp.task('default', function ( done ) {
    const drupal_settings = get_drupal_settings ();
    console.log(done);
});

For example, "done" is undefined. How can I use gulp-params and get the done function also? Thanks.