Skip to content

Synced tasks not waiting for complete finish before continuing #7

Description

@Sawtaytoes

If I do a delete, then a write, sometimes the write errors because the file being written is also being deleted at the same time.

Example:

gulp.task('html.rebuild', $.synchronize.sync([
    'html.clean',
    'html.build'
]));

In this example, clean removes the file and build will create the file. Clean is finishing up at the time build runs. It doesn't always happen, but it happens enough to be bothersome; especially when I run a bunch of async synced tasks at once.

Metadata

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