Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
doc: add all watch-mode related flags to node.1
  • Loading branch information
dario-piotrowicz committed Jun 28, 2025
commit ce4776cfcb0d5a8b0302dfd67170ef14784ecf38
13 changes: 13 additions & 0 deletions doc/node.1
Original file line number Diff line number Diff line change
Expand Up @@ -621,6 +621,19 @@ Set V8's thread pool size which will be used to allocate background jobs.
If set to 0 then V8 will choose an appropriate size of the thread pool based on the number of online processors.
If the value provided is larger than V8's maximum, then the largest value will be chosen.
.
.It Fl -watch
Starts Node.js in watch mode. When in watch mode, changes in the watched files cause the Node.js process to restart.

By default, watch mode will watch the entry point and any required or imported module. Use --watch-path to specify what paths to watch.
.
.It Fl -watch-path
Starts Node.js in watch mode and specifies what paths to watch. When in watch mode, changes in the watched paths cause the Node.js process to restart.

This will turn off watching of required or imported modules, even when used in combination with --watch.
.
.It Fl -watch-kill-signal
Customizes the signal sent to the process on watch mode restarts.
.
.It Fl -zero-fill-buffers
Automatically zero-fills all newly allocated Buffer instances.
.
Expand Down
Loading