fix remixd watcher

pull/5370/head
yann300 2 years ago committed by Aniket
parent 191e45df9c
commit 530d418f6e
  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