From 8708bb028034d66ded3bd386e9b8e6d50fb9d5af Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Thu, 21 Jun 2012 15:03:49 +0200 Subject: [PATCH] doc: update fs.watchFile() docs --- doc/api/fs.markdown | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/doc/api/fs.markdown b/doc/api/fs.markdown index 0554eef517..5abef14ba7 100644 --- a/doc/api/fs.markdown +++ b/doc/api/fs.markdown @@ -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: