{"library":"tsc-watch","type":"library","category":null,"description":"tsc-watch is a utility that wraps the TypeScript compiler's --watch mode and adds lifecycle hooks to execute commands on compilation events such as success, failure, or first success. It is commonly used as a drop-in replacement for nodemon in TypeScript projects to restart a Node.js server after successful recompilations. The current stable version is 7.2.0, with a release cadence of several minor versions per year. Key differentiators include built-in support for debounced file emission events, signal handling, and the ability to run arbitrary commands without needing an additional process manager. Unlike plain tsc --watch, tsc-watch provides fine-grained control over development workflows and integrates seamlessly with TypeScript's existing compiler options.","language":"javascript","status":"active","version":"7.2.0","tags":["javascript","TypeScript","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install tsc-watch","imports":["npx tsc-watch --onSuccess \"node dist/index.js\"","import TscWatchClient from 'tsc-watch/client'","import type TscWatchClient from 'tsc-watch/client'"]},{"cmd":"yarn add tsc-watch","imports":[]},{"cmd":"pnpm add tsc-watch","imports":[]}],"homepage":null,"github":"https://github.com/gilamran/tsc-watch","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/tsc-watch","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/tsc-watch/compatibility"}}