Skip to content

Prevent custom builds from executing concurrenctly #10944

@treeder

Description

@treeder

What versions & operating system are you using?

Wrangler 4.42.2, Node 20.

Please provide a link to a minimal reproduction

No response

Describe the Bug

If you have multiple files, n, modified at the same time, then the build will start n times at the same time. This should probably either not start if a build is in progress and/or wait a fraction of a second before starting and ensure it only kicks off once even if it saw multiple files change.

Please provide any relevant error logs

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething that isn't workingquick winPotentially easy/straightforward issue to tackle

    Type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions