listen on cache path changed

pull/2982/head
yann300 2 years ago
parent 032c3d8232
commit 9421e2315e
  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