Re: [nodejs] use fs.watch instead

2012-03-05 Thread Adam Pritchard
The Trevor Burnham's Watchit module does an okay job of providing a "sensible wrapper" around fs.watch -- it smooths out some of the cross-platform issues. It certainly doesn't solve every problem (for example, in my module

Re: [nodejs] use fs.watch instead

2012-03-03 Thread Isaac Schlueter
File watching is a dirty business across platforms. This API needs some work. Documentation and API proposals are welcome, but be aware that the underlying systems are very different, so bridging the gap is tricky. On Sat, Mar 3, 2012 at 15:38, Phoscur wrote: > Also nodejs docs lack information

Re: [nodejs] use fs.watch instead

2012-03-03 Thread Phoscur
Also nodejs docs lack information about this function not beeing implemented on windows http://nodejs.org/docs/latest/api/fs.html#fs_fs_watchfile_filename_options_listener Found this issue, which is exactly my case too: https://github.com/cowboy/grunt/pull/34 Do you get any messages under linux w

[nodejs] use fs.watch instead

2012-03-03 Thread Phoscur
This is not uncommon when you try to use watch functionality of some module on windows. Is there a simple workaround to get this without patching the module? I mean fs.watch works fine on windows, but apparently the old linux notation is not supported. -- Job Board: http://jobs.nodejs.org/ Postin