From 04f820c0b312a75e278414de852ab011d8ffab18 Mon Sep 17 00:00:00 2001 From: yann300 Date: Wed, 28 Sep 2022 09:33:20 +0200 Subject: [PATCH] foundry process artifact on activation --- libs/remixd/src/services/foundryClient.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libs/remixd/src/services/foundryClient.ts b/libs/remixd/src/services/foundryClient.ts index 7ecf60cd98..3c7d93dcd4 100644 --- a/libs/remixd/src/services/foundryClient.ts +++ b/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) }