Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: remove 'recursive' from fs.watch #65

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 0 additions & 5 deletions docs/api.md
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