Skip to content

allow for tasks to be ran automatically on more events and conditionally #166034

@spearmootz

Description

@spearmootz

The use case i have is, we have a branch that migrates an application from angular to angular X which has a different startup process. i am usually on angular 1 branch but if i want to toggle between i have to modify the tasks file or manually kill and start the other.

on way to get around this is to add a new runOn "onBranch" and then a regex or glob to match the branch.

it would be awesome to get the original process terminated with a property called "terminateOn": "branchSwitch" or "branchRegexUnmatch"

so in my case i would have two tasks, each with a runOnBranch, a branch regex and "terminateOn": "branchSwitch" or "branchRegexUnmatch"

Metadata

Metadata

Assignees

Labels

feature-requestRequest for new features or functionalitytasksTask system issues

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions