Minor fixes for rebase
This commit is contained in:
parent
9a830c3423
commit
dcdcfb5b32
|
@ -134,10 +134,17 @@ class Engine {
|
||||||
}
|
}
|
||||||
|
|
||||||
pipelineService(_options) {
|
pipelineService(_options) {
|
||||||
this.registerModule('pipeline', {plugins: this.plugins, env: this.env, webpackConfigName: this.webpackConfigName});
|
const self = this;
|
||||||
const pipeline = new Pipeline({
|
this.registerModule('pipeline', {
|
||||||
this.events.on('code-generator-ready', function () {
|
webpackConfigName: this.webpackConfigName
|
||||||
pipeline.build(abi, contractsJSON, null, () => {
|
});
|
||||||
|
this.events.on('code-generator-ready', function (modifiedAssets) {
|
||||||
|
self.events.request('code', function (abi, contractsJSON) {
|
||||||
|
self.events.request('pipeline:build', {abi, contractsJSON, modifiedAssets}, () => {
|
||||||
|
self.events.emit('outputDone');
|
||||||
|
});
|
||||||
|
});
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
serviceMonitor() {
|
serviceMonitor() {
|
||||||
|
|
|
@ -239,7 +239,7 @@ Blockchain.prototype.run = function () {
|
||||||
}
|
}
|
||||||
self.readyCallback();
|
self.readyCallback();
|
||||||
}
|
}
|
||||||
this.logger.info(`${self.client.name}: ${data}`);
|
self.logger.info(`${self.client.name}: ${data}`);
|
||||||
});
|
});
|
||||||
|
|
||||||
self.child.on('exit', (code) => {
|
self.child.on('exit', (code) => {
|
||||||
|
|
Loading…
Reference in New Issue