fgnass/node-dev — Issue #26: running node-dev on windows fails with "use fs.watch api instead"
Author: dadicool
Created: 2012-01-31 04:15:30+00:00
State: open

When running a simple : `node_modules\.bin\node-dev app.js`
I get this :
`[ERROR] Error
Error: use fs.watch api instead
at Object.watchFile (fs.js:734:11)`

After some digging around, I found that coffee-script hit the same problem as documented here : [issue 1803](https://github.com/jashkenas/coffee-script/issues/1803)

The solution is to use watchFile when it exists and fs.watch otherwise.