Skip to content

Commit 387419d

Browse files
author
Brad Cornes
committed
set chokidar cwd
1 parent 1768f96 commit 387419d

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ export default async function getClassNames(
113113
function watch(files = []) {
114114
if (watcher) watcher.close()
115115
watcher = chokidar
116-
.watch([CONFIG_GLOB, ...files])
116+
.watch([CONFIG_GLOB, ...files], { cwd })
117117
.on('change', handleChange)
118118
.on('unlink', handleChange)
119119
}

0 commit comments

Comments
 (0)