foundry process artifact on activation

pull/2956/head
yann300 2 years ago
parent 8faf0a6731
commit a14d0f0b8c
  1. 2
      libs/remixd/src/services/foundryClient.ts

@ -85,6 +85,8 @@ export class FoundryClient 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