Permalink
Browse files

doc: update fs.watchFile() docs

  • Loading branch information...
1 parent ef1ffcb commit 8708bb028034d66ded3bd386e9b8e6d50fb9d5af @bnoordhuis bnoordhuis committed Jun 21, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 doc/api/fs.markdown
View
@@ -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:

0 comments on commit 8708bb0

Please sign in to comment.