Skip to content

The Readme says "return the promise from del" but run-sequence doesn't actually support promises #80

Closed
@luxalpa

Description

EDIT: Now it works. I must have made some weird mistake. Sorry. Disregard/delete this.

using something like this:

gulp.task('clean', () => {
    return del(["www/**/*", "www-release/**/*"]);
});

gulp.task('rebuild', function() {
    runSequence("clean", "build");
});

doesn't actually work, because it doesn't wait for del (promise) to be done before starting the build task. It does work using del.sync though, but then again, that doesn't require run-sequence.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions