From Node.js 22 and on, watch mode is considered stable. When in watch mode, changes in watched files cause the Node.js process to restart. And, for pattern matching, Node.js 22 adds to the node:fs ...