Skip to content

Commit

Permalink
[plug-in]Initialize workspace's folders
Browse files Browse the repository at this point in the history
Signed-off-by: Valeriy Svydenko <[email protected]>
  • Loading branch information
svor authored and Valeriy Svydenko committed Jan 3, 2019
1 parent 52683ba commit 24492cf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/plugin-ext/src/main/browser/workspace-main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,10 @@ export class WorkspaceMainImpl implements WorkspaceMain {

this.inPluginFileSystemWatcherManager = new InPluginFileSystemWatcherManager(this.proxy, container);

this.workspaceService.roots.then(roots => {
this.processWorkspaceFoldersChanged(roots);
});

this.workspaceService.onWorkspaceChanged(roots => {
this.processWorkspaceFoldersChanged(roots);
});
Expand Down

0 comments on commit 24492cf

Please sign in to comment.