|
|
@ -183,7 +183,7 @@ export function compileContractSources (sources: SrcIfc, newCompConfig: any, imp |
|
|
|
|
|
|
|
|
|
|
|
async.waterfall([ |
|
|
|
async.waterfall([ |
|
|
|
(next) => { |
|
|
|
(next) => { |
|
|
|
if (!deepequal(UTRunner.compilerConfig, newCompConfig)) { |
|
|
|
if (!compiler || !deepequal(UTRunner.compilerConfig, newCompConfig)) { |
|
|
|
UTRunner.compilerConfig = newCompConfig |
|
|
|
UTRunner.compilerConfig = newCompConfig |
|
|
|
const { currentCompilerUrl, evmVersion, optimize, runs, usingWorker } = newCompConfig |
|
|
|
const { currentCompilerUrl, evmVersion, optimize, runs, usingWorker } = newCompConfig |
|
|
|
compiler = new RemixCompiler(importFileCb) |
|
|
|
compiler = new RemixCompiler(importFileCb) |
|
|
|