diff --git a/src/extension.ts b/src/extension.ts index a609f5f9..fb7be862 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -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