Reload config on watch update
- Dominant language
- TypeScript
- Stars
- 11.3k
- Forks
- 275
- PR merge metrics
- No merged PRs in 30d
Description
I am currently using `tsup` with a `tsup.config.ts`.
This config file dynamically finds the target entry files because the logic behind it is too complex for globber matching.
When using `tsup --watch` however, it seems like the config is not reloaded on file updates, thus making it so that new files are not considered as possible entry files, and the watch process has to be restarted to include them.
Ideally, I could set some config option that makes it so that the config script is re-executed whenever watch mode detects an update.
Alternatively you could declare this as out-of-scope and I will simply have to use some third party watch-runner for this.
Thank you for your time either way.
Contributor guide
Assessment
This issue has not been assessed yet.