mirror of https://github.com/embarklabs/embark.git
fix after deploy and build files
This commit is contained in:
parent
50ff4d4a48
commit
d90d591fdc
|
@ -203,6 +203,13 @@ class Embark {
|
||||||
engine.events.request('deploy:contracts', function(err) {
|
engine.events.request('deploy:contracts', function(err) {
|
||||||
callback(err);
|
callback(err);
|
||||||
});
|
});
|
||||||
|
},
|
||||||
|
function waitForWriteFinish(callback) {
|
||||||
|
engine.logger.info("Finished deploying".underline);
|
||||||
|
// Necessary log for simple projects. This event is trigger to soon because there is no file
|
||||||
|
// Also, not exiting straight after the deploy leaves time for async afterDeploys to finish
|
||||||
|
engine.logger.info("If you have no files to build, you can exit now with CTRL+C");
|
||||||
|
engine.events.on('outputDone', callback);
|
||||||
}
|
}
|
||||||
], function (err, _result) {
|
], function (err, _result) {
|
||||||
if (err) {
|
if (err) {
|
||||||
|
|
Loading…
Reference in New Issue