diff options
author | Samy Pessé <samypesse@gmail.com> | 2016-02-21 00:33:10 +0100 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2016-02-21 00:33:10 +0100 |
commit | 0a93ffd76ba574de5afaad73954c287ae40143d5 (patch) | |
tree | dc5588d204a63bf91f529286c58341d49404dc32 /lib/output | |
parent | 98e9848c4a5260800376255e00c58bec029a1565 (diff) | |
download | gitbook-0a93ffd76ba574de5afaad73954c287ae40143d5.zip gitbook-0a93ffd76ba574de5afaad73954c287ae40143d5.tar.gz gitbook-0a93ffd76ba574de5afaad73954c287ae40143d5.tar.bz2 |
Ignore node_modules during login
Diffstat (limited to 'lib/output')
-rw-r--r-- | lib/output/base.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/output/base.js b/lib/output/base.js index 2a7ec48..f5a8e4f 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, |