Skip to content

Glossary: TypeScript Beyond the Basics

node --watch

Also written: --watch

A Node.js flag that reruns your program whenever you save a file it uses. It is handy for development, for example in a `dev` npm script like `node --watch src/main.ts`.

Where the book teaches it

Related terms

npm scripts