Skip to content

Commit

Permalink
Merge pull request #374 from JoshwinThomasIBM/Issue371ProjectNotInDas…
Browse files Browse the repository at this point in the history
…hboard

Enabled refresh when a folder is added to the workspace
  • Loading branch information
JoshwinThomasIBM authored Nov 22, 2024
2 parents f1d507e + e589a3e commit 8717961
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 8717961

Please sign in to comment.