listen on cache path changed

pull/5370/head
yann300 2 years ago
parent 99a8f1ee7b
commit 6e27903fb2
  1. 2
      libs/remixd/src/services/foundryClient.ts

@ -90,7 +90,7 @@ export class FoundryClient extends PluginClient {
listenOnFoundryCompilation () {
try {
this.watcher = chokidar.watch(this.buildPath, { depth: 3, ignorePermissionErrors: true, ignoreInitial: true })
this.watcher = chokidar.watch(this.cachePath, { depth: 0, ignorePermissionErrors: true, ignoreInitial: true })
this.watcher.on('change', async (f: string) => this.processArtifact())
this.watcher.on('add', async (f: string) => this.processArtifact())

Loading…
Cancel
Save