{
  "version": "2.0.0",
  "tasks": [
    {
      "label": "Arduino IDE - Rebuild Electron App",
      "type": "shell",
      "command": "yarn rebuild:browser && yarn rebuild:electron",
      "group": "build",
      "presentation": {
        "reveal": "always",
        "panel": "new",
        "clear": false
      }
    },
    {
      "label": "Arduino IDE - Start Browser App",
      "type": "shell",
      "command": "yarn --cwd ./browser-app start",
      "group": "build",
      "presentation": {
        "reveal": "always",
        "panel": "new",
        "clear": true
      }
    },
    {
      "label": "Arduino IDE - Watch IDE Extension",
      "type": "shell",
      "command": "yarn --cwd ./arduino-ide-extension watch",
      "group": "build",
      "presentation": {
        "reveal": "always",
        "panel": "new",
        "clear": false
      }
    },
    {
      "label": "Arduino IDE - Watch Browser App",
      "type": "shell",
      "command": "yarn --cwd ./browser-app watch",
      "group": "build",
      "presentation": {
        "reveal": "always",
        "panel": "new",
        "clear": false
      }
    },
    {
      "label": "Arduino IDE - Watch Electron App",
      "type": "shell",
      "command": "yarn --cwd ./electron-app watch",
      "group": "build",
      "presentation": {
        "reveal": "always",
        "panel": "new",
        "clear": false
      }
    },
    {
      "label": "Arduino IDE - Watch All [Browser]",
      "type": "shell",
      "dependsOn": [
        "Arduino IDE - Watch IDE Extension",
        "Arduino IDE - Watch Browser App"
      ]
    },
    {
      "label": "Arduino IDE - Watch All [Electron]",
      "type": "shell",
      "dependsOn": [
        "Arduino IDE - Watch IDE Extension",
        "Arduino IDE - Watch Electron App"
      ]
    }
  ]
}
