Comparing version 1.0.4 to 1.0.5
{ | ||
"name": "tsc-watch", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "The TypeScirpt compiler with onSuccess command", | ||
@@ -5,0 +5,0 @@ "main": "tsc-watch.js", |
@@ -1,6 +0,17 @@ | ||
# UNDER DEVELOPMENT | ||
# The TypeScript compiler with onSuccess command | ||
# The TypeScript compiler with `--watch` and a new onSuccess argument | ||
`tsc-watch` starts the `tsc` (TypeScript compiler) with `--watch` parameter, it also adds a new argument `--onSuccess COMMAND`. this `COMMAND` will be executed on every successful TypeScript compilation. | ||
## Install | ||
```sh | ||
npm install tsc-watch --save-dev | ||
``` | ||
## Usage | ||
```sh | ||
tsc-watch server.ts --outDir ./dist --onSuccess "node ./dist/server.ts" | ||
``` | ||
Notes: | ||
@@ -7,0 +18,0 @@ * The `COMMAND` will not run if the compilation failed. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5464
23