Skip to content

Commit

Permalink
fix: "Volar: Reload Project" command cannot detect node_modules change
Browse files Browse the repository at this point in the history
  • Loading branch information
johnsoncodehk committed Jul 31, 2022
1 parent 57a7b0f commit 8fbc4ac
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/vue-language-server/src/projects.ts
Expand Up @@ -106,6 +106,9 @@ export function createProjects(

async function reloadProject(uri: string) {

fileExistsCache.clear();
directoryExistsCache.clear();

const configs: string[] = [];

for (const [_, workspace] of workspaces) {
Expand Down

0 comments on commit 8fbc4ac

Please sign in to comment.