Skip to content

Commit 7f77a9e

Browse files
committed
clear require cache before reading tailwind config
1 parent 481b8b1 commit 7f77a9e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/extension.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ async function getTailwind() {
6868
if (!files.length) return null
6969

7070
let configPath = files[0].fsPath
71+
delete require.cache[configPath]
7172

7273
let tailwindPackage = await vscode.workspace.findFiles(
7374
'**/node_modules/tailwindcss/package.json',

0 commit comments

Comments
 (0)