Home

tailwind-ctp-intellisense @master - refs - log -
-
https://git.jolheiser.com/tailwind-ctp-intellisense.git
Tailwind intellisense + Catppuccin
tree log patch
clear require cache before reading tailwind config
Brad Cornes <bradlc41@gmail.com>
6 years ago
1 changed files, 1 additions(+), 0 deletions(-)
M src/extension.ts -> src/extension.ts
diff --git a/src/extension.ts b/src/extension.ts
index fd552df0330b3610650c27f8cfbc485a0fb6f18f..c0c3fecf093fc5c02759b58d9f4facfea161e890 100644
--- a/src/extension.ts
+++ b/src/extension.ts
@@ -68,6 +68,7 @@
   if (!files.length) return null
 
   let configPath = files[0].fsPath
+  delete require.cache[configPath]
 
   let tailwindPackage = await vscode.workspace.findFiles(
     '**/node_modules/tailwindcss/package.json',