Skip to content

Allow to watch for port being LISTENING #1936

Description

@SheGe

At the time of creating this request, the watch: true feature does not support using anything other than sources: []. I would like to configure a task that works with the watch: true feature to check for a LISTENING port.

Ideas:

  1. Allow the watch setting to accept a boolean or a nested cmd/cmds. The result of custom shell command execution could determine when a task needs to be executed.
  2. Upgrade the watch implementation to respect the existing status setting, allowing runs of custom commands without a need to change the schema.
  3. Implement watch: true with port: 8080, where the listening check would be a part of the watch task implementation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions