Skip to content
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

Watch mode support #4

Open
bobmoff opened this issue Jan 8, 2019 · 2 comments
Open

Watch mode support #4

bobmoff opened this issue Jan 8, 2019 · 2 comments

Comments

@bobmoff
Copy link

bobmoff commented Jan 8, 2019

Does it work in watch mode?

@tomspeak
Copy link

tomspeak commented Feb 5, 2019

@joonhocho -- would like to know this too, any thoughts?

@adxmcollins
Copy link

adxmcollins commented Mar 8, 2019

@bobmoff / @tomspeak - if you haven't got this working yet (and for anyone else in future)

Got watch mode working with a package called tsc-watch (see here).

Works like so: tsc-watch --onSuccess "tscpaths -p tsconfig.json -s ./src -o ./dist"

tsc-watch simply extends tsc and offers additional functionality such as onSuccess, onFailure, etc

tsc-watch's --onSuccess method is called on every successful compile, or you can alternatively use --onFirstSuccess to run on the first successful compile only

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants