Socket
Socket
Sign inDemoInstall

tsc-watch

Package Overview
Dependencies
Maintainers
1
Versions
90
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tsc-watch - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

2

package.json
{
"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.

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc