Please add a --no-watch option
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 by tsc-watch to interact with tsc 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.
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 --watch.
so maybe a PR is a good idea :-)
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