You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
tsdown watch mode stops reacting after first rebuild in some projects
#937
I didn't raise an issue because when I have started an empty project and install tsdown + typescript it works fine.
The Problem
When I run tsdown --watch and I edit the src/index.ts first time it rebuild but second time and so on it's not! And the most wired thing is if I change a file in the outisde src like tsdown.config.ts or package.json it rebuild.
Now you might think somthing I miss in tsconfig or tsdown config but. I have tried so many things and it's same result.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
I didn't raise an issue because when I have started an empty project and install tsdown + typescript it works fine.
The Problem
When I run
tsdown --watchand I edit the src/index.ts first time it rebuild but second time and so on it's not! And the most wired thing is if I change a file in the outisde src liketsdown.config.tsorpackage.jsonit rebuild.Now you might think somthing I miss in tsconfig or tsdown config but. I have tried so many things and it's same result.
Environment:
tsdown: 0.21.10
TypeScript: 6.0.3
Node: v24.14.1
Package manager: pnpm 10.27.0
OS:
And this is the repository .
All reactions