Theia: [task] disallow running identical tasks

Created on 27 May 2019  路  2Comments  路  Source: eclipse-theia/theia

Description

Should we disallow identical tasks from running at the same time?
Currently, we can execute multiple versions of the same task simultaneously which be error prone.

In vscode, only one instance of a task can be active at a given time, and users are prompted to either Terminate or Restart the task or cancel the action.

![Screenshot from 2019-05-27 09-05-54](https://user-images.githubusercontent.com/40359487/58423165-6cadf180-8062-11e9-9e7e-1f90cbccbb11.png)

Should we do the same?

enhancement tasks

Most helpful comment

@vince-fugnitto as usual, aligning with VS Code sounds good

All 2 comments

@vince-fugnitto as usual, aligning with VS Code sounds good

Also if a task is finished but we run it again then we should reuse the terminal. in VS Code:
Screen Shot 2019-05-30 at 05 29 52

Notice notes in the terminal about which task is executed and that the terminal will be reused. It would be good do the same.

Was this page helpful?
0 / 5 - 0 ratings