Skip to content

Conversation

@mwolting
Copy link
Contributor

Currently in watch mode, the CLI will only watch files that existed at the time the command was started. This means newly added files won't trigger a rebuild.

Fixing by moving the globbing logic into the ignored callback instead & watching the sources in their entirety. This should address #115

@changeset-bot
Copy link

changeset-bot bot commented Sep 29, 2025

🦋 Changeset detected

Latest commit: a4f7e1c

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@swc/cli Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@CLAassistant
Copy link

CLAassistant commented Sep 29, 2025

CLA assistant check
All committers have signed the CLA.

@socket-security
Copy link

socket-security bot commented Sep 29, 2025

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updated@​swc/​cli@​0.7.7 ⏵ 0.7.899 +110075 +184100

View full report

@kdy1 kdy1 self-assigned this Sep 29, 2025
@PS1TD
Copy link

PS1TD commented Oct 29, 2025

Nice job, waiting to use this fix in my projects!

@kdy1 kdy1 merged commit 972c887 into swc-project:main Oct 29, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants