foundry process artifact on activation

pull/5370/head
yann300 2 years ago
parent aec2da1d43
commit 04f820c0b3
  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