EN
tsc - re-compile TypeScript file on change
9 points
In this short article, we would like to show how to run TypeScript compiler in watch mode to recompile *.ts file on any change.
Quick solution (run the following command):
xxxxxxxxxx
1
tsc -w my_script.ts
or:
xxxxxxxxxx
1
tsc --watch my_script.ts