### Used Package Manager
pnpm
### Validations
- [X] Follow our [Code of Conduct](https://github.com/sxzz/.github/blob/main/CODE_OF_CONDUCT.md)
- [X] Read the [Contributing Guide](https://github.com/sxzz/contribute).
- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- [X] Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
- [X] The provided reproduction is a [minimal reproducible](https://stackoverflow.com/help/minimal-reproducible-example) of the bug.
Describe the bug
When we use tsdown watch mode and save some file while tsdown running, the tsdown craches.
Reproduction step
I'll use tsdown in some projects, but I'll choose @RobinTail 's merge-sx as a minimal example.
git clone https://github.com/RobinTail/merge-sx
bun install
bun install tsdown@latest
bun run tsdown --watch
src/index.ts
and save file with/without changes.tsdown
crashesThis also happenes in pnpm
Reproduction
See ↑
System Info