We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2b694c commit 82d0d44Copy full SHA for 82d0d44
packages/tailwindcss-language-server/src/server.ts
@@ -1474,8 +1474,8 @@ class TW {
1474
})
1475
1476
capabilities.add(DidChangeWatchedFilesNotification.type, {
1477
- watchers: projects.flatMap((project) =>
1478
- project.state.dependencies.map((file) => ({ globPattern: file }))
+ watchers: projects.flatMap(
+ (project) => project.state.dependencies?.map((file) => ({ globPattern: file })) ?? []
1479
),
1480
1481
0 commit comments