Skip to content

can't watch added files when entry is entry: "src/**/*.ts" #709

@yinhunfeixue

Description

@yinhunfeixue

Reproduction link or steps

  1. set entry: "src/**/*.ts" in tsdown.config.ts
  2. set "dev": "tsdown --watch ./src",
  3. npm run dev
  4. add file src/a.ts

expected to re-build and generate dist/a.ts, but not

What is expected?

expected to re-build and generate dist/a.ts

What is actually happening?

no rebuild

Any additional comments?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions