fix after deploy and build files

This commit is contained in:
Jonathan Rainville 2018-06-14 10:30:34 -04:00
parent 50ff4d4a48
commit d90d591fdc
1 changed files with 7 additions and 0 deletions

View File

@ -203,6 +203,13 @@ class Embark {
engine.events.request('deploy:contracts', function(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) {
if (err) {