Skip to content

Commit

Permalink
Enabled refresh when a folder is added to the workspace
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshwinThomasIBM authored and JoshwinThomasIBM committed Nov 14, 2024
1 parent da0a448 commit 5032ad3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,10 @@ function registerCommands(context: ExtensionContext) {
devCommands.deleteTerminal(closedTerminal);
})
);
// Listens for any new folders are added to the workspace
context.subscriptions.push(vscode.workspace.onDidChangeWorkspaceFolders((event) => {
projectProvider.refresh();
}));
}

// this method is called when your extension is deactivated
Expand Down

0 comments on commit 5032ad3

Please sign in to comment.