Skip to content

Commit 1557dfd

Browse files
committed
Ensure jit state is reset
1 parent 634b8c6 commit 1557dfd

File tree

1 file changed

+3
-0
lines changed
  • packages/tailwindcss-language-server/src

1 file changed

+3
-0
lines changed

packages/tailwindcss-language-server/src/server.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -879,6 +879,9 @@ async function createProjectService(
879879
return [className, { color: getColor(state, className) }]
880880
})
881881
}
882+
} else {
883+
delete state.jitContext
884+
delete state.classList
882885
}
883886
} catch (error) {
884887
hook.unhook()

0 commit comments

Comments
 (0)