-
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
Usage with tsc --build option #99
Comments
Did you try: |
Oh wow thanks, did actually not try that, it seems to work perfectly. Just another small thing, piping the output like this |
The commands MUST be one command, you can run an npm command that does just that. |
That works! Thanks. |
I am using project-references https://www.typescriptlang.org/docs/handbook/project-references.html and would like to reload my server if any of the referenced projects change.
Using
tsc --build --incremental --watch
already does everything I want, there is just no way to restart the server once tsc is done with a change.As far as I understand microsoft/TypeScript#29978 it should be possible.
But it seems that ts-node has not adopted the new APIs TypeStrong/ts-node#817.
Is it possible with this tool to just pass the required flags to tsc?
Setting
build, incremental, watch
totrue
in thetsconfig.json
does not work.Thanks.
The text was updated successfully, but these errors were encountered: