Permalink
Browse files

native watch was not passing through directory, so it was failing to …

…match ignore rules. Fixes #83
  • Loading branch information...
1 parent 079682c commit ae1255e61b5480a78e5b454b339723eba8138347 @remy remy committed Apr 23, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 nodemon.js
View
@@ -116,7 +116,7 @@ function startMonitor() {
var watch = function (err, dir) {
try {
fs.watch(dir, { persistent: false }, function (event, filename) {
- callback([filename]);
+ callback([dir + '/' + filename]);
});
fs.readdir(dir, function (err, files) {

0 comments on commit ae1255e

Please sign in to comment.