Skip to content

ogheorghies/tsc-do

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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 microsoft/TypeScript#20389, so that the screen is not cleared before each compilation, use:

tsc --watch | tsc-do

To clear the screen before each compilation, use:

tsc --watch | tsc-do true true clear

About

Take action when tsc compilation succeeds, fails, or starts.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages