File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
packages/tailwindcss-language-server/src Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -369,7 +369,7 @@ async function createProjectService(
369
369
let file = normalizePath ( change . file )
370
370
371
371
let isConfigFile = projectConfig . configPath
372
- ? change . file === projectConfig . configPath
372
+ ? file === projectConfig . configPath
373
373
: minimatch ( file , `**/${ CONFIG_GLOB } ` , { dot : true } )
374
374
let isDependency = state . dependencies && state . dependencies . includes ( change . file )
375
375
@@ -1659,7 +1659,10 @@ class TW {
1659
1659
1660
1660
for ( let [ key ] of this . projects ) {
1661
1661
let projectConfig = JSON . parse ( key ) as ProjectConfig
1662
- if ( change . file === projectConfig . configPath && change . type === FileChangeType . Deleted ) {
1662
+ if (
1663
+ normalizedFilename === projectConfig . configPath &&
1664
+ change . type === FileChangeType . Deleted
1665
+ ) {
1663
1666
needsRestart = true
1664
1667
break changeLoop
1665
1668
}
You can’t perform that action at this time.
0 commit comments