ts-lube

run tsc incremental watch and restart process when updates are detected

Usage no npm install needed!

<script type="module">
  import tsLube from 'https://cdn.skypack.dev/ts-lube';
</script>

README

ts-lube

Known Vulnerabilities Renovate

Usage

ts-lube dist

Runs npx tsc --incremental --watch and runs node dist after the first compilation finishes and then restarts it whenever changes are detected (debouncing updates by 300ms).

ts-lube -y -d 500 dist/kittens.js

Runs yarn tsc --incremental --watch and runs node dist/kittens.js after the first compilation finishes and then restarts it whenever changes are detected (debouncing updates by 500ms).