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"