- Added
onCompilationStarted
option - (Thanks to @axtk for the idea and @dko-slapdash for the PR) - Fix: enable unit tests which were turned off accidentally
- tsc-watch is now listening to message and reacts to them
- Fix: compiler resolving - (Thanks to @merceyz for the PR)
- Fix: upgrade cross-spawn and strip-ansi (node 8+) - (Thanks to @FauxFaux for the PR)
- Fix: spawn compiler using node, this fixes issues with yarn v2 (pnp) - (Thanks to @merceyz)
- Using number 15 instead of SIGTERM to support POSIX standard - (Thanks to @Asarew)
- Using readline instead of raw stdout buffer - (Thanks to @Janpot for the idea)
- Added the
onCompilationComplete
option - (Thanks to @ackvf for the idea)
- Terminating previous processes is now done with
SIGTERM
instead ofSIGUSR2
- (Thanks to @zontarian)
- onSuccess will run on EVERY successful compilation, also on the first success - (Thanks to @mchl-hub for the idea)
- Force kill when on windows - (Thanks to @hwwi)
- Waiting for all the child processes to showdown before closing - (Thanks to @MartinLoeper)
- Exporting TscWatchClient for multiple instance of
tsc-watch
- (Thanks to @pronebird)
- As many users requested, from now on
--onFirstSuccess
process will not get killed, only when tsc-watch is killed. (Based on @amir-arad's PR) This version fixes Issue #20, #21 and #50.
- Fixed coloring issues
--watch
will be added to the end of the arguments (Thanks to @barkayal)
- Clean code
- Added --noClear command to prevent clearing the screen after each compilation
- Removed chalk dependency - (Thanks to @frank-orellana)
- Upgraded ps-tree, preventing flatmap-stream attack (Thanks to @jeremyhon)
- Added custom compiler ability (Thanks to @sosoba for the PR)
- Fixed regression bug (Thanks to @onehorsetown)
- Fixed command args extraction (Thanks to @mscharley)
- Fixed process termination (Thanks to @igrayson)
- Fixed several issues with hadErrors check (Thanks to @tombousso)
- Killing onFail and onSuccess after compilation
- Typescript as a peer dependency (Thanks to @asztal)
- Added support for Typescript 2.9+
- Removed
--noClearScreen
argument, as typescript added--preserveWatchOutput
- Fixed ignoring the last arg
- Added
--noColors
argument - Added
--noClearScreen
argument
- Fixed passing compilation when using --pretty param (Thanks to @tomaba)
- Terminating typescript on SIGTERM event (Thanks to @amir-arad)
- Fixed stdout coloring issues on Mac (Thanks to @jonaskello)
- Added
--onFailure
argument
- Fixed Windows newline issue
- Add CHANGELOG
- Fix typo in package description
- Upgraded chalk version
- Change main to
index.js
- Removed
yarn.lock
&package-lock.json
- Made
index.js
executable