Skip to content
Merged
Changes from all commits
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
5 changes: 0 additions & 5 deletions docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,6 @@ Watch for changes to a given file or directory.
```ts
interface Options {
encoding?: BufferEncoding | null;
recursive?: boolean;
}
```

Expand All @@ -531,10 +530,6 @@ interface Options {

Specifies the character encoding to be used for the filename passed to the listener. Default: `'utf8'`.

#### `recursive?: boolean`

Indicates whether all subdirectories should be watched, or only the current directory. This applies when a directory is specified, and only on supported platforms. Default: `false`.

<h4 id="watch-listener">
<a id="watch-listener"><code>Listener</code></a>
<a href="#watch-listener" class="header-anchor" aria-hidden="true">#</a>
Expand Down