Skip to content

Watch mode rebuilds cause touch/update to every output file #2104

Closed
@maranomynet

Description

Hi. Is there a way to configure Esbuild in watch mode to only touch/rewrite the bundles (output files) that actually changed with the rebuild.

I'd even be willing to sacrifice a bit of speed.

Use case: I'm running a separate watch task to monitor the contents of the outdir, and perform further actions on the files that changed.

The fact that every output file fires a change-event on every incremental rebuild is making things very busy+slow.

I've done my best to hunt for answers, but to no avail. Any suggestions?

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