diff --git a/src/index.js b/src/index.js index 31f0283..c1383c4 100644 --- a/src/index.js +++ b/src/index.js @@ -223,6 +223,10 @@ module.exports = function(options) { if (config.livereload.enable) { lrServer.close(); + + files.forEach(function (file) { + watch.unwatchTree(file.path); + }); } });