Is there a way to block onSuccess until DTS is finished? #1107
Unanswered
chrisbenincasa
asked this question in
Q&A
Replies: 1 comment
-
Also, it seems that |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Config:
Sample output:
This is in the context of a monorepo. When a leaf node runs it's bundle, we'll kick off bundle on the shared libraries - however there is a race condition where if the DTS files are not finished by tsup in a shared library before they are needed for typechecking in a leaf node, we'll get an error. You can see in the output that the onSuccess handler is fired before the DTS even begins building
Beta Was this translation helpful? Give feedback.
All reactions