tailwind-ctp-intellisense @master -
refs -
log -
-
https://git.jolheiser.com/tailwind-ctp-intellisense.git
diff --git a/packages/tailwindcss-language-server/src/server.ts b/packages/tailwindcss-language-server/src/server.ts
index 8c185f4eb4d092a5859ed47602807dae7069136b..9fbdd0b2090c24e3971d230f6fb902d436b91442 100644
--- a/packages/tailwindcss-language-server/src/server.ts
+++ b/packages/tailwindcss-language-server/src/server.ts
@@ -879,6 +879,9 @@ state.classList = state.jitContext.getClassList().map((className) => {
return [className, { color: getColor(state, className) }]
})
}
+ } else {
+ delete state.jitContext
+ delete state.classList
}
} catch (error) {
hook.unhook()