mikeal/watch — pull request #26 by michaelsbradleyjr (2012-02-28 02:07:38+00:00)
Title: Check enoent

As part of the `walk` logic, files should be checked with `fs.stat`. If `fs.stat` returns with an error, then if the code is not `'ENOENT'` pass the error on to the `callback`; if it is `'ENOENT'`, then effectively skip the file in question.

This will allow `watch` to avoid throwing exceptions when encountering, for example, the temporary symbolic links created by Emacs when a file is being modified.