You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Didn't find this issue. Allow to run multiple tasks concurrently. Currently it ask s to terminate running one.
This actually for watching tasks. And also seem that tasks are run some way differently that upcoming workbench terminal as they do not keep colors inside running scripts. Terminal and task runner seem to be very relative technically.
Dirk Bäumer (@dbaeumer)
I've seen that issue, I thought that the question was a little bit different, it is about defining multiple tasks, a this issue is about concurrent execution, including tasks that are supposed to run "forever" like server/watching/etc.
The reason why I folded them is that if we allow running multiple tasks supporting multiple commands is almost a must. That we we plan to solve them together in one go.
Dirk Bäumer (@dbaeumer) I think what Zhongyang Wang (@k8w) meant and what I'm facing is starting multiple tasks in one command. I now have two tasks that I want to start at build, but I can only choose one default task. The other one I have to start independently via the Command Palette or by choosing it through Tasks -> Run Task. If I set both tasks as default build tasks with "group": { "kind": "build", "isDefault": true }, they don't start automatically after using Ctrl+Shift+B and I have to choose one and repeat the process and choose the other.
Ceituna (@ceituna) are your tasks watching tasks. If not you can define a new tasks that depends on the two others and mark that one as the default build task. However this is currently not possible if they are watching tasks.
Dirk Bäumer (@dbaeumer) Only one of them is (a tsc watch). I wasn't aware of the dependsOn option. Couldn't find it in the docs. I've now setup a new task which depends on the other two as the default build task and everything works as expected. Thanks for the hint!
Activity
dbaeumer commentedon Jun 20, 2016
Dups #981
wclr commentedon Jun 20, 2016
Dirk Bäumer (@dbaeumer)
I've seen that issue, I thought that the question was a little bit different, it is about defining multiple tasks, a this issue is about concurrent execution, including tasks that are supposed to run "forever" like server/watching/etc.
dbaeumer commentedon Jun 21, 2016
The reason why I folded them is that if we allow running multiple tasks supporting multiple commands is almost a must. That we we plan to solve them together in one go.
k8w commentedon Jun 20, 2017
I want to use 2 tasks concurrently:
They have different problemMatchers, so can not define as one task.
dbaeumer commentedon Jun 20, 2017
@twoeo this is possible with the task 2.0.0. It can run multiple tasks in parallel.
ceituna commentedon Oct 18, 2017
Dirk Bäumer (@dbaeumer) I think what Zhongyang Wang (@k8w) meant and what I'm facing is starting multiple tasks in one command. I now have two tasks that I want to start at build, but I can only choose one default task. The other one I have to start independently via the Command Palette or by choosing it through Tasks -> Run Task. If I set both tasks as default build tasks with
"group": { "kind": "build", "isDefault": true },they don't start automatically after using Ctrl+Shift+B and I have to choose one and repeat the process and choose the other.dbaeumer commentedon Oct 19, 2017
Ceituna (@ceituna) are your tasks watching tasks. If not you can define a new tasks that depends on the two others and mark that one as the default build task. However this is currently not possible if they are watching tasks.
ceituna commentedon Oct 19, 2017
Dirk Bäumer (@dbaeumer) Only one of them is (a tsc watch). I wasn't aware of the dependsOn option. Couldn't find it in the docs. I've now setup a new task which depends on the other two as the default build task and everything works as expected. Thanks for the hint!
dbaeumer commentedon Oct 20, 2017
You are welcome. Agree that this should be documented as well.