Skip to content

Commit 31dc777

Browse files
committed
fix(language-core): trigger targets dirty when associatedOnly is true
1 parent 0d1fabb commit 31dc777

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/language-core/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ export function createLanguage<T>(
7171
}
7272
else if (associatedOnly) {
7373
sourceScript.snapshot = snapshot;
74+
triggerTargetsDirty(sourceScript);
7475
}
7576
else if (sourceScript.isAssociationDirty || sourceScript.snapshot !== snapshot) {
7677
// snapshot updated

0 commit comments

Comments
 (0)