1.1.2 • Published 6 years ago
tsc-do v1.1.2
Take action when tsc compilation succeeds, fails, or starts.
Usage:
tsc --watch | tsc-do {on-success} {on-error} {on-start}
Examples:
tsc --watch | tsc-do 'say OK' 'say Failed' 'say Building'
tsc --watch | tsc-do ./on-success.sh ./on-error.sh ./on-start.sh
tsc --watch | tsc-do
To get back the functionality of tsc
before https://github.com/Microsoft/TypeScript/pull/20389,
so that the screen is not cleared before each compilation, use:
tsc --watch | tsc-do
To clear before each compilation, use:
tsc --watch | tsc-do true true clear