-
Notifications
You must be signed in to change notification settings - Fork 59
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
Feature request: Support multiple tsconfig.json files #16
Comments
If
There is a related issue in the typescript repo here. |
@jonaskello tsc-watch is using the installed typescript on your project, it is only forcing watch mode. If you are using multiple You can see how I managed 2 Hope this help. |
@gilamran Yes, I understand how it works, I have read the source :-). I previously also used an approach similar to your fullstack example. However lately I realised the advantages of yarn workspace so in my latest project I'm using a proper monorepo with multiple packages instead. See here for an example how that is setup. There are many advantages to have real packages for shared code instead of just separate folders under I think tsc-watch could actually support muliple |
@jonaskello Thanks for the explanation. |
If the typescript team will add this that would be really nice. But I'm not sure they will? Do you have a reference to an official statement on that? I've been following this issue which is referenced by the issue I mentioned previously. However they have been discussing since 2015 and I have not seen any concrete statements that they will do anything as of yet. |
I went with a mix of webpack and nodemon for my monorepo. I guess multiple |
My application is a monorepo with multiple packages where each package have it's own tsconfig.json. I would like to restart my server on a change to any of the packages. So for example I want to to this:
So the request is to support multiple instances of the
-p
. The regulartsc --watch
only supports one instance.The text was updated successfully, but these errors were encountered: