Check if notification absolute path exists

pull/454/head
ioedeveloper 4 years ago
parent 1502cd95c9
commit ed177e8063
  1. 4
      src/services/remixdClient.ts

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

Loading…
Cancel
Save