Skip to content

hotReloadCapable support #6697

@feloy

Description

@feloy

/kind bug

There exists some misunderstandings around the hotReloadCapable meaning.

On Odo:

  • on cluster: When Run command is hoteloadCapable, Build and Run commands are executed only once
  • on Podman, when Run command is hotReloadCapable, Run command only is executed only once.
  • on both podman and cluster, the hotReloadCapable'ity of the Build command is not considered

On Devfile stacks:

  • on Angular devfile (and similar), the Run command is marked as hotReloadCapable, but not the Build command. This is compatible with the behaviour of odo on cluster, but not on Podman (as the Build command should be executed only once).

After discussion with @tkral, we propose to disambiguate this by:

Related issues:

Metadata

Metadata

Assignees

Labels

kind/bugCategorizes issue or PR as related to a bug.needs-triageIndicates an issue or PR lacks a `triage/*` and requires one.

Type

No type

Projects

Status

Done ✅

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions