Skip to content

Write bundle only if changed #4303

@lonix1

Description

@lonix1

New user here. We use esbuild for bundling/minifiying (not watching, which our dev environment handles itself). We use the esbuild cli itself (the executable, on linux), not npm or anything related to node.

When using the esbuild cli it writes bundles even if there's no change to the final file. That triggers all sorts of watchers unnecessarily, which triggers recompilation of our code, etc.

Does the cli have "write only if changed" behaviour?

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