joyent/node — Issue #2293: fs.watch seem to be broken on mac
Author: eladb
Created: 2011-12-08 12:54:39+00:00
State: open

fs.watch seem to be broken on mac.
This script (named ```j.js```) does not exit.

```javascript
var fs = require('fs');
fs.watch('j.js', { persistent: false }, function() {
console.log('changed');
});
```

P.S. ```fs.watchFile``` is working.