Skip to content

Commit 5a4591c

Browse files
committed
ignore file watcher permission errors (#238)
1 parent 0e66dac commit 5a4591c

File tree

1 file changed

+1
-1
lines changed
  • packages/tailwindcss-intellisense/src/class-names

1 file changed

+1
-1
lines changed

packages/tailwindcss-intellisense/src/class-names/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ export default async function getClassNames(
202202
function watch(files = []) {
203203
unwatch()
204204
watcher = chokidar
205-
.watch(files, { cwd })
205+
.watch(files, { cwd, ignorePermissionErrors: true })
206206
.on('change', handleChange)
207207
.on('unlink', handleChange)
208208
}

0 commit comments

Comments
 (0)