Closed pflannery closed 7 years ago
This is because it's watching files using absolute paths. At this line
The fix for this would be to gaze at the relative paths instead.
gaze(watchFiles, function(err, watcher) { if(err) { console.error("Unable to watch files", err); } this.on('all', function(event, filepath) { console.log(filepath + ' was ' + event); livereloadServer.changed({body:{files:filepath}}); }); });
@manuelcabral I can PR this.
Thanks, please do.
For reference, some corresponding gaze issues are #84 and #80.
This is because it's watching files using absolute paths. At this line
The fix for this would be to gaze at the relative paths instead.
@manuelcabral I can PR this.