TIL Node’s `–watch` flag
Read OriginalThe article explains that Node.js includes a `--watch` flag (introduced in Node 18) to automatically restart an application when file changes are detected. It shows how to use it directly via the command line or within a package.json script, noting it can replace common tools like nodemon for basic workflows.
Comments
No comments yet
Be the first to share your thoughts!
Browser Extension
Get instant access to AllDevBlogs from your browser