tsc-watch
Advanced tools
Comparing version 4.2.9 to 4.3.0
# @gilamran/tsc-watch CHANGELOG | ||
## v4.3.0 - 26/5/2021 | ||
fix: compiler resolving - (Thanks to @merceyz for the PR) | ||
## v4.2.9 - 23/6/2020 | ||
@@ -4,0 +8,0 @@ |
@@ -57,2 +57,4 @@ function removeRunnerArgs(args) { | ||
compiler = 'typescript/bin/tsc'; | ||
} else { | ||
compiler = require.resolve(compiler, { paths: [process.cwd()] }); | ||
} | ||
@@ -59,0 +61,0 @@ |
{ | ||
"name": "tsc-watch", | ||
"version": "4.2.9", | ||
"version": "4.3.0", | ||
"description": "The TypeScript compiler with onSuccess command", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -14,3 +14,3 @@ [![Build Status](https://travis-ci.com/gilamran/tsc-watch.svg?branch=master)](https://travis-ci.com/gilamran/tsc-watch) | ||
| `--onCompilationComplete COMMAND` | Executes `COMMAND` on **every successful or failed** compilation. | | ||
| `--noColors` | By default tsc-watch adds colors the output with green<br>on success, and in red on failiure. <br>Add this argument to prevent that. | | ||
| `--noColors` | By default tsc-watch adds colors the output with green<br>on success, and in red on failure. <br>Add this argument to prevent that. | | ||
| `--noClear` | In watch mode the `tsc` compiler clears the screen before reporting<br>Add this argument to prevent that. | | ||
@@ -44,3 +44,3 @@ | `--compiler PATH` | The `PATH` will be used instead of typescript compiler.<br>Default is `typescript/bin/tsc` | | ||
## Wathcing a single file | ||
## Watching a single file | ||
tsc-watch server.ts --outDir ./dist --onSuccess "node ./dist/server.js" | ||
@@ -47,0 +47,0 @@ |
30492
560
6