From 4cea69443b2bb5d8ef6e8e6188ac1d8f92f1b443 Mon Sep 17 00:00:00 2001 From: Jonathan Rainville Date: Fri, 3 May 2019 11:40:39 -0400 Subject: [PATCH] fix(compiler): add missing event that outputs the result --- lib/Compiler.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/Compiler.js b/lib/Compiler.js index a4f0e13..6f81841 100644 --- a/lib/Compiler.js +++ b/lib/Compiler.js @@ -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