Skip to content

tsdown watch mode doesn't track CSS file changes #825

@jackholden

Description

@jackholden

Reproduction link or steps

https://github.com/jackholden/tsdown-css-watch-issue

Reproduction steps:

  1. I run npm run dev (tsdown --watch)
  2. I import my CSS files with ?inline
  3. LightningCSS then transforms @custom-media rules etc.
  4. I make a change in the .ts file, all is well and updates.
  5. I make a change in the .css file, nothing happens.

What is expected?

If the file is being imported into the .ts file, I expect that file to be added to the watch list.

What is actually happening?

The .css files don't appear to be being watched despite being imported in the .ts file.

Any additional comments?

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    Priority

    None yet

    Effort

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions