Skip to content

Commit

Permalink
fix: template code mapping confusion when incremental update with error
Browse files Browse the repository at this point in the history
close #2151
  • Loading branch information
johnsoncodehk committed Nov 28, 2022
1 parent 19cc0f5 commit 3d18695
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions vue-language-tools/vue-language-core/src/sourceFile.ts
Expand Up @@ -160,6 +160,9 @@ export class VueSourceFile implements SourceFile {
plugin,
};
}
else {
VueSourceFile.compiledSFCTemplateCache = undefined;
}

return {
errors,
Expand Down

0 comments on commit 3d18695

Please sign in to comment.