Skip to content

swc+watch cannot exclude files #2976

@fpnuseis

Description

@fpnuseis

Is there an existing issue that is already proposing this?

  • I have searched the existing issues

Is your feature request related to a problem? Please describe it

if use swc + watch option, can not exclude files(ex. *spec.ts)

Describe the solution you'd like

add watch exclude option for swc

Teachability, documentation, adoption, migration strategy

No response

What is the motivation / use case for changing the behavior?

When modifying *spec.ts files, these files are generally excluded because we don't want a rebuild.
By adding an exclude option for swc, a rebuild can be avoided when certain files are changed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions