Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

…match ignore rules. Fixes #83
  • Loading branch information...
commit ae1255e61b5480a78e5b454b339723eba8138347 1 parent 079682c
@remy remy authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  nodemon.js
View
2  nodemon.js
@@ -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) {
Please sign in to comment.
Something went wrong with that request. Please try again.