diff --git a/packages/embark/src/lib/modules/pipeline/index.js b/packages/embark/src/lib/modules/pipeline/index.js index 4518d5826..db92a6d61 100644 --- a/packages/embark/src/lib/modules/pipeline/index.js +++ b/packages/embark/src/lib/modules/pipeline/index.js @@ -31,7 +31,9 @@ class Pipeline { }); this.events.setCommandHandler('pipeline:build', (options, callback) => { - if(!this.pipelineConfig.enabled) return callback(); + if(!this.pipelineConfig.enabled) { + return this.buildContracts([], callback); + } this.build(options, callback); }); this.events.setCommandHandler('pipeline:build:contracts', callback => this.buildContracts([], callback));