Skip to content
This repository has been archived by the owner on Apr 4, 2023. It is now read-only.

Prevent overwriting the DevWorkspace in-cluster object by a flattened Devfile #1346

Merged
merged 4 commits into from
May 9, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions plugins/workspace-plugin/src/workspace-projects-manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,11 @@ export class WorkspaceProjectsManager {
}
}

await this.watchWorkspaceProjects();
await this.watchMultiRootProjects();
// Quick fix for https://github.com/eclipse/che/issues/21244
// Considering 99% of the workspaces are single-project,
// there is no need to update the Devfile automatically.
// await this.watchWorkspaceProjects();
// await this.watchMultiRootProjects();
}

async buildCloneCommands(projects: che.devfile.DevfileProject[]): Promise<TheiaImportCommand[]> {
Expand Down