-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
dev
script infinititely recompiles
#1074
Comments
We need to write a contributing guide, but I run |
@juliusmarminge Personally I tried downgrading/upgrading tsup locally, as it seems to be an open issue with tsup but it didn't help. What I did end up doing is running |
i think it's to do with the watch patterns since this repo doesn't use a src/ directory and dist/ to separate out the source from the compiled one. maybe if you're diligent about it and tell tsup exactly what to watch and not it'll fix it |
fixes vercel#1074 The files in `packages/core/*/dist` must be excluded from the TS program so that `rollup-plugin-dts` (used by `tsup`) does not include them in the list of watched files.
Description
In root of this monorepo, I tried running dev on the package using:
However that causes tsup to just infinitely recompile itself:
https://github.com/vercel/ai/assets/51714798/0d70d9e7-6c16-41e6-bf53-ce25a81b3f39
What's the recommended way to develop in this monorepo? There's no contributing guide?
Code example
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: