{
  "version": "2.0.0",
  "tasks": [
    {
      "label": "npm: watch",
      "type": "npm",
      "script": "watch",
      "problemMatcher": {
        "owner": "custom",
        "pattern": [
          {
            "regexp": "never match this please",
            "file": 1,
            "location": 2,
            "message": 3
          }
        ],
        "background": {
          "activeOnStart": true,
          "beginsPattern": "^\\s*\\[watch\\] build started.*",
          "endsPattern": "^\\s*\\[watch\\] build finished.*"
        }
      },
      "isBackground": true,
      "presentation": {
        "reveal": "never"
      },
      "group": {
        "kind": "build",
        "isDefault": true
      }
    },
    {
      "label": "sampleWorkspace",
      "type": "npm",
      "script": "sampleWorkspace:run",
      "isBackground": true,
      "problemMatcher": {
        "owner": "custom",
        "pattern": [
          {
            "regexp": "never match this please",
            "file": 1,
            "location": 2,
            "message": 3
          }
        ],
        "background": {
          "activeOnStart": true,
          "beginsPattern": "^\\s*Starting server.*",
          "endsPattern": "^\\s*Server ready at.*"
        }
      }
    },
    {
      "label": "BuildAndStartWorkspace",
      "dependsOn": ["npm: watch", "sampleWorkspace"]
    }
  ]
}
