Skip to content

Commit a0f5e68

Browse files
authored
Merge pull request #1108 from tamuratak/fix_doc
2 parents 820ab96 + b16eb3e commit a0f5e68

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -255,8 +255,8 @@ Available events: `add`, `addDir`, `change`, `unlink`, `unlinkDir`, `ready`,
255255
Additionally `all` is available which gets emitted with the underlying event
256256
name and path for every event other than `ready`, `raw`, and `error`. `raw` is internal, use it carefully.
257257
* `.unwatch(path / paths)`: Stop watching files, directories, or glob patterns.
258-
Takes an array of strings or just one string. Use with `await` to ensure bugs don't happen.
259-
* `.close()`: **async** Removes all listeners from watched files. Asynchronous, returns Promise.
258+
Takes an array of strings or just one string.
259+
* `.close()`: **async** Removes all listeners from watched files. Asynchronous, returns Promise. Use with `await` to ensure bugs don't happen.
260260
* `.getWatched()`: Returns an object representing all the paths on the file
261261
system being watched by this `FSWatcher` instance. The object's keys are all the
262262
directories (using absolute paths unless the `cwd` option was used), and the

0 commit comments

Comments
 (0)