|
|
|
@ -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) => { |
|
|
|
|