Browse files

Fixed file watcher bug due to upgrading node-glob.

  • Loading branch information...
1 parent 90b3aa2 commit dfb8b63b752e9b9fb398f47c52d870746bd44212 @airportyh airportyh committed Apr 10, 2013
Showing with 0 additions and 2 deletions.
  1. +0 −2 lib/filewatcher.js
View
2 lib/filewatcher.js
@@ -69,10 +69,8 @@ FileWatcher.prototype = {
if (this.emfile) return
var self = this
- , dir = process.cwd()
glob(globPattern, {silent: true}, function(err, files){
files.forEach(function(file){
- file = path.join(dir, file)
if (self.isWatching(file)) return
fs.stat(file, function(err, stats){
if (err) return

0 comments on commit dfb8b63

Please sign in to comment.