You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because I work in a monorepo, I'd like to watch a node_modules subdirectory so that my bundle would rebuild automatically if I change one of my internal dependencies.
However, because of this line of code, it seems like my --watch node_modules/@my-company is not working as I would expect.
Do you have any idea of a workaround? Should I submit a PR with a fix it instead?
Upvote & Fund
We're using Polar.sh so you can upvote and help fund this issue.
We receive the funding once the issue is completed & confirmed by you.
Thank you in advance for helping prioritize & fund our backlog.
The text was updated successfully, but these errors were encountered:
a PR with a fix would be great. I ran into a similar issue in our monorepo, where packages that used tsup would not recompile when one of the other packages in the monorepo workspace was changed. We wound up moving our packages to use vite since it does pick up changes in node_modules, but it'd a lot nicer if tsup supported optionally watching node_modules since its such a great toolchain for building libraries.
Because I work in a monorepo, I'd like to watch a
node_modules
subdirectory so that my bundle would rebuild automatically if I change one of my internal dependencies.However, because of this line of code, it seems like my
--watch node_modules/@my-company
is not working as I would expect.Do you have any idea of a workaround? Should I submit a PR with a fix it instead?
Upvote & Fund
The text was updated successfully, but these errors were encountered: