Skip to content

Commit 30879a6

Browse files
committed
fix: remove 'recursive' option from fs.watch
1 parent b34f788 commit 30879a6

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

docs/api.md

-5
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,6 @@ Watch for changes to a given file or directory.
521521
```ts
522522
interface Options {
523523
encoding?: BufferEncoding | null;
524-
recursive?: boolean;
525524
}
526525
```
527526

@@ -531,10 +530,6 @@ interface Options {
531530

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

534-
#### `recursive?: boolean`
535-
536-
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`.
537-
538533
<h4 id="watch-listener">
539534
<a id="watch-listener"><code>Listener</code></a>
540535
<a href="#watch-listener" class="header-anchor" aria-hidden="true">#</a>

0 commit comments

Comments
 (0)