Auto re-compile typescript when .ts file saved or restart debugger.
add your own custom command after rootDir compiled
Prerequisite
Typescript should install globally on your system.
Check typescript installed globally by running this command: tsc --version
If not, then run npm i -g typescript
How to use
Open command palette by pressing F1 then start typing "compile typescript" and run suggested command.
keyboard shortcut : Ctrl +Alt + C
In debug mode
Just save ts file, typescript auto re-compiled and auto-restart debugger.
Enable Watch mode
Open command palette by pressing F1 then start typing "compilets watch mode" and run suggested command.
keyboard shortcut : Ctrl +Alt + W
compileTs auto-compile typescript file when saved,
How to add custom command (run after compiled rootDir or file save in watch mode)
open setting by pressing (ctrl+,) and search runCompileCommand or, runWatchCommand (only work in watch mode)
Enter your shell script