truffle process artifact on activation

pull/2956/head
yann300 2 years ago
parent a14d0f0b8c
commit 81225940c0
  1. 2
      libs/remixd/src/services/truffleClient.ts

@ -88,6 +88,8 @@ export class TruffleClient extends PluginClient {
}
this.watcher.on('change', async (f: string) => processArtifact())
this.watcher.on('add', async (f: string) => processArtifact())
// process the artifact on activation
processArtifact()
} catch (e) {
console.log(e)
}

Loading…
Cancel
Save