mirror of
https://github.com/embarklabs/embark.git
synced 2025-01-11 14:24:24 +00:00
use once in pipeline
This commit is contained in:
parent
a7be2cda26
commit
b829643f61
@ -80,7 +80,7 @@ class Pipeline {
|
||||
webpackProcess.send({action: constants.pipeline.init, options: {}});
|
||||
webpackProcess.send({action: constants.pipeline.build, file, importsList});
|
||||
|
||||
webpackProcess.on('result', constants.pipeline.built, (msg) => {
|
||||
webpackProcess.once('result', constants.pipeline.built, (msg) => {
|
||||
webpackProcess.disconnect();
|
||||
return next(msg.error);
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user