-
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
Please add a --no-watch option #154
Comments
How about creating a script that uses tsc-watch programmatically, there's an example on the repo. |
Taking a look, thank you |
hmm, thinking about it... you can't disable the recompile, tsc-watch always adds |
I think the example you were referring to is very similar to the script I am using currently so it would be nice with that option :) |
PR? |
Closing as there's no activity |
Consider implementing |
I found myself needing this feature today. |
Added on version 6.3.0@beta please test and let me know. |
tsc-watch
is often used to create run scripts because it makes it so convenient to programmatically run the compiler and connect/start multiple sources. In my case I have a really slow computer and 10+ NestJS microservices and a React frontend get recompiled every single time I save a file which causes massive slowdown. I would really like the option to pass a--no-watch
flag to disable the watch behaviour because the API exposed bytsc-watch
to interact withtsc
is so nice but watch mode slowing down my computer makes me want to die.I would be happy to add this in a PR myself, I just need a bit of direction on where to get started.
The text was updated successfully, but these errors were encountered: