shift processing the artefact

pull/2956/head
yann300 2 years ago
parent b7a104a25d
commit 269df10a49
  1. 2
      libs/remixd/src/services/foundryClient.ts
  2. 2
      libs/remixd/src/services/hardhatClient.ts
  3. 2
      libs/remixd/src/services/truffleClient.ts

@ -90,7 +90,7 @@ export class FoundryClient extends PluginClient {
this.watcher.on('change', async (f: string) => this.processArtifact())
this.watcher.on('add', async (f: string) => this.processArtifact())
// process the artifact on activation
this.processArtifact()
setTimeout(() => this.processArtifact(), 1000)
} catch (e) {
console.log(e)
}

@ -94,7 +94,7 @@ export class HardhatClient extends PluginClient {
this.watcher.on('change', () => this.processArtifact())
this.watcher.on('add', () => this.processArtifact())
// process the artifact on activation
this.processArtifact()
setTimeout(() => this.processArtifact(), 1000)
} catch (e) {
console.log(e)
}

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

Loading…
Cancel
Save