Skip to content

Commit 82af15b

Browse files
authored
fix(tailwindcss): dynamic registration for didWatchChangedFiles #4206
Not having this was leading to the lsp falling back to watching *all* files, and causes nasty side effects such as DopplerHQ/cli#502
1 parent a851dc6 commit 82af15b

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

lsp/tailwindcss.lua

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,13 @@ return {
6666
'svelte',
6767
'templ',
6868
},
69+
capabilities = {
70+
workspace = {
71+
didChangeWatchedFiles = {
72+
dynamicRegistration = true,
73+
},
74+
},
75+
},
6976
settings = {
7077
tailwindCSS = {
7178
validate = true,

0 commit comments

Comments
 (0)