Skip to content

Commit 673b6a5

Browse files
fix: remove 'recursive' from fs.watch (#65)
1 parent 062b9d4 commit 673b6a5

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

docs/api.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -708,7 +708,6 @@ Watch for changes to a given file or directory.
708708
```ts
709709
interface Options {
710710
encoding?: BufferEncoding | null;
711-
recursive?: boolean;
712711
}
713712
```
714713

@@ -718,10 +717,6 @@ interface Options {
718717

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

721-
#### `recursive?: boolean`
722-
723-
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`.
724-
725720
<h4 id="watch-listener">
726721
<a id="watch-listener"><code>Listener</code></a>
727722
<a href="#watch-listener" class="header-anchor" aria-hidden="true">#</a>

0 commit comments

Comments
 (0)