diff options
author | Samy Pessé <samypesse@gmail.com> | 2016-02-17 13:12:34 +0100 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2016-02-17 13:12:34 +0100 |
commit | b6104c64fecb72c9f40554600d456c27dbd18be8 (patch) | |
tree | 0c48caf160f8b8a2c54f4cfa76c0f586364dbc8b /lib/output/base.js | |
parent | e95678cf3a3cfbcbfa8b64ca16c4030417187e88 (diff) | |
download | gitbook-b6104c64fecb72c9f40554600d456c27dbd18be8.zip gitbook-b6104c64fecb72c9f40554600d456c27dbd18be8.tar.gz gitbook-b6104c64fecb72c9f40554600d456c27dbd18be8.tar.bz2 |
Use same json for page context and json builds
Diffstat (limited to 'lib/output/base.js')
-rw-r--r-- | lib/output/base.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/output/base.js b/lib/output/base.js index 02a69b1..997b8da 100644 --- a/lib/output/base.js +++ b/lib/output/base.js @@ -82,10 +82,12 @@ Output.prototype.generate = function() { .value(); return Promise.serie(byTypes.asset, function(filename) { + that.log.info.ln('copy asset', filename); return that.onAsset(filename); }) .then(function() { return Promise.serie(byTypes.page, function(filename) { + that.log.info.ln('process page', filename); return that.onPage(that.book.getPage(filename)); }); }); @@ -94,6 +96,10 @@ Output.prototype.generate = function() { // Finish the generation .then(function() { return that.finish(); + }) + + .then(function() { + that.log.info.ln('generation finished with success!'); }); }; |