Permalink
Browse files

doc: remove description of inotify in fs.watchFile

inotify is no longer used in StatWatcher. Now, the interval option in
fs.watchFile works on Linux.
  • Loading branch information...
1 parent f0ce984 commit 9d3242510e2576364c59a1728eb2544aa85e82b1 @shigeki shigeki committed Jun 21, 2012
Showing with 2 additions and 3 deletions.
  1. +2 −3 doc/api/fs.markdown
View
5 doc/api/fs.markdown
@@ -455,9 +455,8 @@ time the file is accessed.
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 }`.
+being watched. `interval` indicates how often the target should be polled in
+milliseconds. The default is `{ persistent: true, interval: 0 }`.
The `listener` gets two arguments the current stat object and the previous
stat object:

0 comments on commit 9d32425

Please sign in to comment.