Thanks. Can I watch a path that doesn't exist (yet)?

On Fri, Apr 27, 2012 at 3:31 PM, Ben Noordhuis <[email protected]> wrote:
> On Fri, Apr 27, 2012 at 21:23, Tom Boutell <[email protected]> wrote:
>> I noticed that there seems to be an fs.watch() call but no fs.unwatch()
>> call, at least according to the documentation.
>>
>> What's the story with that? Does it stop watching after the first callback?
>> Does it watch forever with no option to remove?
>
> Here is how you use it:
>
>  var w = fs.watch(path, options, cb);
>  // ...
>  w.close();
>
> --
> Job Board: http://jobs.nodejs.org/
> Posting guidelines: 
> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> You received this message because you are subscribed to the Google
> Groups "nodejs" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/nodejs?hl=en?hl=en



-- 
Tom Boutell
P'unk Avenue
215 755 1330
punkave.com
window.punkave.com

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to