Call hook "init" during generation

This commit is contained in:
Samy Pessé
2016-02-25 12:18:40 +01:00
parent 94393bef4b
commit 25ae21dae3
+3
View File
@@ -68,6 +68,9 @@ Output.prototype.generate = function() {
})
// Initialize the generation
.then(function() {
return that.plugins.hook('init');
})
.then(function() {
that.log.info.ln('preparing the generation');
return that.prepare();