|
@ -737,6 +737,7 @@ function FSWatcher() { |
|
|
var self = this; |
|
|
var self = this; |
|
|
var FSEvent = process.binding('fs_event_wrap').FSEvent; |
|
|
var FSEvent = process.binding('fs_event_wrap').FSEvent; |
|
|
this._handle = new FSEvent(); |
|
|
this._handle = new FSEvent(); |
|
|
|
|
|
this._handle.owner = this; |
|
|
|
|
|
|
|
|
this._handle.onchange = function(status, event, filename) { |
|
|
this._handle.onchange = function(status, event, filename) { |
|
|
if (status) { |
|
|
if (status) { |
|
|