fix(compiler): add missing event that outputs the result

This commit is contained in:
Jonathan Rainville 2019-05-03 11:40:39 -04:00
parent 45e9db03cc
commit 4cea69443b
1 changed files with 3 additions and 0 deletions

View File

@ -132,6 +132,9 @@ function compileSolc(embark, contractFiles, contractDirectories, options, callba
logger.error(e.message || e);
return callback(`Compiling returned an unreadable result`);
}
embark.events.emit('contracts:compiled:solc', json);
const contracts = json.contracts;
// Check for errors