-
-
Notifications
You must be signed in to change notification settings - Fork 223
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add tsup.confg.* file support in watch mode #712
base: main
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
The config is only loaded once before build: https://github.com/lvqq/tsup/blob/25d15657aceacce2c8bf5458f1048cbce5d8c8ea/src/index.ts#L127 In order to support this we need to re-load the config file when it's changed, and recreate the watcher since the |
Thanks!I will take a look later |
found a way around this by using npm package
|
115a451
to
57654f6
Compare
Since watch mode doesn't watch the
tsup.config.*
file, so every time I change the config I need to kill the watch process and restart.