restore-terminals-vscode icon indicating copy to clipboard operation
restore-terminals-vscode copied to clipboard

Terminals order is not respected

Open potyl opened this issue 4 years ago • 1 comments

I have the following configuration file .vscode/restore-terminals.json:

{
  "artificialDelayMilliseconds": 300,
  "keepExistingTerminalsOpen": false,
  "runOnStartup": true,
  "terminals": [
    {
      "splitTerminals": [
        {
          "name": "run-api",
          "commands": [
            "fnm use",
            "make boot",
            "make run-api"
          ]
        }
      ]
    },
    {
      "splitTerminals": [
        {
          "name": "server",
          "commands": [
            "fnm use",
            "make run-server"
          ]
        },
        {
          "name": "worker",
          "commands": [
            "fnm use",
            "make run-worker"
          ]
        }
      ]
    },
    {
      "splitTerminals": [
          {
            "name": "api",
            "commands": [
              "fnm use",
              "git status"
            ]
          }
        ]
      }
  ]
}

I would expect my terminals to be:

run-api
server | worker
api

What I get instead is:

run-api | worker
server
api

potyl avatar Sep 02 '21 07:09 potyl

+1

ocervell avatar Sep 10 '21 10:09 ocervell