Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
doc: update fs.watchFile() docs
Browse files Browse the repository at this point in the history
  • Loading branch information
bnoordhuis committed Jun 21, 2012
1 parent ef1ffcb commit 8708bb0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions doc/api/fs.markdown
Expand Up @@ -456,8 +456,7 @@ The second argument is optional. The `options` if provided should be an object
containing two members a boolean, `persistent`, and `interval`. `persistent`
indicates whether the process should continue to run as long as files are
being watched. `interval` indicates how often the target should be polled,
in milliseconds. (On Linux systems with inotify, `interval` is ignored.) The
default is `{ persistent: true, interval: 0 }`.
in milliseconds. The default is `{ persistent: true, interval: 5007 }`.

The `listener` gets two arguments the current stat object and the previous
stat object:
Expand Down

0 comments on commit 8708bb0

Please sign in to comment.