-
Notifications
You must be signed in to change notification settings - Fork 508
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
--noClean support for build #746
Comments
I don't know what kind of watch system you're using, but I would check if that has a better clean option first. Repeated I think this would need a lot more information on use-case to be considered. |
I use monorepo with lot of packages. The build happens in the cluster, not on my local machine. When I edit something on my machine the file is copied on N servers using this file. And these servers rebuild the package with tsdx build. I saw people having problems with watching monorepo #275 (comment) that's why I do it this way : / |
So the clusters are constantly running a watch process and rebuilding other things that depend on the package when you make an edit?
That comment seems to point to monorepos where you have a TSDX package that depends on another package in the monorepo (often it's the other way around, unless you have libraries built on top of each other). If you have that problem, a feature request for the ability to customize Rollup's |
Yes if there is a way to build a DAG of packages in a monorepo, using tsdx watch, it would work. The great thing with tsdx build is that I can build the package in any order I want and I have more control. |
Isn't that exactly what That might not work for watch though per the other comments in #275 (comment), though that exact example existing in the Lerna docs suggests otherwise. Idk, I've never run a
The comment you specifically linked to, #275 (comment), which I was responding to, suggests watching It's not clear to me if you're using Lerna as your watcher or if this is a Lerna monorepo or what. |
Current Behavior
--noClean
not working for tsdx buildDesired Behavior
--noClean
working for tsdx buildSuggested Solution
Add
--noClean
option for tsdx buildWho does this impact? Who is this for?
Impact us because be use a different system for watching, we don't use tsdx watch
Describe alternatives you've considered
We are downgrading to a version before
v0.10.0
The text was updated successfully, but these errors were encountered: