fix remixd watcher

pull/3348/head
yann300 2 years ago committed by Aniket
parent bacaa7a091
commit fad8aa8a73
  1. 2
      libs/remixd/src/services/remixdClient.ts

@ -248,7 +248,7 @@ export class RemixdClient extends PluginClient {
const absPath = utils.absolutePath('./', path)
if (!isRealPath(absPath)) return
this.watcher = chokidar.watch(path, { depth: 0, ignorePermissionErrors: true })
this.watcher = chokidar.watch(path, { depth: 2, ignorePermissionErrors: true })
console.log('setup notifications for ' + path)
/* we can't listen on created file / folder
watcher.on('add', (f, stat) => {

Loading…
Cancel
Save