summaryrefslogtreecommitdiffstats
path: root/lib/output/base.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/output/base.js')
-rw-r--r--lib/output/base.js6
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!');
});
};