From 4c104e32e78bce33dbeed6395453bf03e5b36181 Mon Sep 17 00:00:00 2001 From: Artem Zatsarynnyi Date: Mon, 20 Sep 2021 18:42:56 +0300 Subject: [PATCH] Testing Signed-off-by: Artem Zatsarynnyi --- .../src/browser/che-workspace-module.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/extensions/eclipse-che-theia-workspace/src/browser/che-workspace-module.ts b/extensions/eclipse-che-theia-workspace/src/browser/che-workspace-module.ts index 77209e2d6d..3bd23b1f24 100644 --- a/extensions/eclipse-che-theia-workspace/src/browser/che-workspace-module.ts +++ b/extensions/eclipse-che-theia-workspace/src/browser/che-workspace-module.ts @@ -55,8 +55,8 @@ export default new ContainerModule((bind, unbind, isBound, rebind) => { rebind(FileNavigatorWidget).toDynamicValue(ctx => createFileNavigatorWidget(ctx.container)); - // const devWorkspaceName = process.env['DEVWORKSPACE_NAME']; - // if (devWorkspaceName) { + const devWorkspaceName = process.env['DEVWORKSPACE_NAME']; + if (devWorkspaceName) { bind(DevfileWatcher).toSelf().inSingletonScope(); bind(ExtensionsJsonWatcher).toSelf().inSingletonScope(); bind(PluginsYamlWatcher).toSelf().inSingletonScope(); @@ -64,7 +64,7 @@ export default new ContainerModule((bind, unbind, isBound, rebind) => { [DevfileWatcher, ExtensionsJsonWatcher, PluginsYamlWatcher, TasksJsonWatcher].forEach(component => { bind(FrontendApplicationContribution).to(component); }); - // } + } }); export function createFileNavigatorContainer(parent: interfaces.Container): Container {