From 0a93ffd76ba574de5afaad73954c287ae40143d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samy=20Pess=C3=A9?= Date: Sun, 21 Feb 2016 00:33:10 +0100 Subject: [PATCH] Ignore node_modules during login --- lib/output/base.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/output/base.js b/lib/output/base.js index 2a7ec488e..f5a8e4fb6 100644 --- a/lib/output/base.js +++ b/lib/output/base.js @@ -49,11 +49,13 @@ Output.prototype.generate = function() { // Initialize the generation .then(function() { + that.log.debug.ln('preparing the generation'); return that.prepare(); }) // Process all files .then(function() { + that.log.debug.ln('listing files'); return that.book.fs.listAllFiles(that.book.root); }) @@ -89,6 +91,7 @@ Output.prototype.generate = function() { // Finish the generation .then(function() { + that.log.debug.ln('finishing the generation'); return that.finish(); }) @@ -103,6 +106,7 @@ Output.prototype.prepare = function() { '.gitignore', '.ignore', '.bookignore', + 'node_modules', // The configuration file should not be copied in the output this.book.config.path,