clear require cache before reading tailwind config
parent
481b8b1aa4
commit
7f77a9ebfa
|
@ -68,6 +68,7 @@ async function getTailwind() {
|
||||||
if (!files.length) return null
|
if (!files.length) return null
|
||||||
|
|
||||||
let configPath = files[0].fsPath
|
let configPath = files[0].fsPath
|
||||||
|
delete require.cache[configPath]
|
||||||
|
|
||||||
let tailwindPackage = await vscode.workspace.findFiles(
|
let tailwindPackage = await vscode.workspace.findFiles(
|
||||||
'**/node_modules/tailwindcss/package.json',
|
'**/node_modules/tailwindcss/package.json',
|
||||||
|
|
Loading…
Reference in New Issue