Skip to content

File watching does not detect change inside loop block of input step? #820

Closed as not planned
@e-gineer

Description

Version: v0.4.3-rc.2

I have this step:

  step "input" "approve" {
    notifier = notifier[param.approvers[0]]

    type = "button"

    subject = param.subject

    prompt = param.prompt

    option "approve" {
      label = "Approve"
      style = "ok"
    }

    option "deny" {
      label = "Deny"
      style = "alert"
    }

    loop {
      until = result.value == "deny" || loop.index >= length(param.approvers) - 1
      notifier = notifier[param.approvers[loop.index]]
    }

    output "approved" {
      value = self.value == "approve"
    }

  }

When I change the loop until attribute (e.g. add or remove the - 1), the file watching does not detect the change.

File watching works and reloads for changes to the option style attribute (as expected).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingstale

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions