File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
packages/language-server/src Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -48,6 +48,8 @@ export function setupBuilder(
48
48
const ctx = builder . context
49
49
if ( ! ctx ) return
50
50
51
+ console . log ( '🐼 Context reloaded for:' , configPath )
52
+ ref . context = ctx
51
53
const tokenNames = Array . from ( new Set ( ctx . tokens . allTokens . map ( ( token ) => token . path . slice ( 1 ) . join ( '.' ) ) ) )
52
54
connection . sendNotification ( '$/panda-token-names' , { configPath, tokenNames } )
53
55
} )
@@ -100,6 +102,7 @@ export function setupBuilder(
100
102
const builder = builderResolver . get ( filepath )
101
103
if ( ! builder || ! builder . context ) return
102
104
105
+ console . log ( '🐼 Context loaded for:' , filepath )
103
106
ref . context = builder . context
104
107
105
108
return ref . context
@@ -111,6 +114,7 @@ export function setupBuilder(
111
114
const builder = builderResolver . get ( filepath )
112
115
if ( ! builder || ! builder . context ) return
113
116
117
+ console . log ( '🐼 Found panda context! ✅ at' , filepath )
114
118
ref . context = builder . context
115
119
116
120
return ref . context
You can’t perform that action at this time.
0 commit comments