Add the nahmii-compiler Remix plugins activation call to trigger finished compilations.

pull/2129/head
Hein 3 years ago committed by yann300
parent 9295cf7225
commit 630709fc15
  1. 5
      libs/remix-core-plugin/src/lib/compiler-artefacts.ts

@ -52,6 +52,11 @@ export class CompilerArtefacts extends Plugin {
this.compilersArtefacts.__last = new CompilerAbstract(languageVersion, data, source, input)
saveCompilationPerFileResult(file, source, languageVersion, data, input)
})
this.on('nahmii-compiler', 'compilationFinished', (file, source, languageVersion, data) => {
this.compilersArtefacts.__last = new CompilerAbstract(languageVersion, data, source)
saveCompilationPerFileResult(file, source, languageVersion, data)
})
}
/**

Loading…
Cancel
Save