title: Configure vscode task to copy a file after parcel watch
body: <blockquote>
    <p><strong>EDIT</strong>: I don't want to use grunt or gulp for this, and neither do I want to configure a parcel-bundler. I have used all of those before,
    and I would like to try using vscode tasks for this. </p>
  </blockquote>
  
  <p>I have a working parcel watch npm task to build my files into a dist folder. Due to some reasons I need to copy a file from the dist folder to another folder after every build. I have configured another npm task for that, called "copy". </p>
  
  <p>I am now trying to configure a vscode task to run this "copy" task after every build from the watch task.</p>
  
  <p>I have already configured a watch task for this, however, it only runs the "copy" task when I terminate the watch task with ctrl-c.</p>
  
  <pre><code>{
    "version": "2.0.0",
    "tasks": [
      {
        "label": "copy",
        "type": "npm",
        "script": "windows-build",
        "path": "frontend/",
        "problemMatcher": []
      },
      {
        "label": "watch",
        "type": "npm",
        "script": "watch",
        "path": "frontend/",
        "isBackground": true,
        "problemMatcher": {
          "background": {
            "activeOnStart": true,
            "beginsPattern": "&gt; parcel watch \\.\\/src\\/index\\.html --public-url \\/public\\/dist -d \\.\\.\\/public\\/dist",
            "endsPattern": "√  Built in \\d+\\.\\d+s\\."
          }
        }
      },
      {
        "label": "build",
        "dependsOrder": "sequence",
        "dependsOn":["watch","copy"]
      }
    ]
  }
  </code></pre>
  
  <p>I get this error message in the "output" tab</p>
  
  <pre><code>Error: the description can't be converted into a problem matcher:
  
  {
    "background": {
      "activeOnStart": true,
      "beginsPattern": "&gt; parcel watch \\.\\/src\\/index\\.html --public-url \\/public\\/dist -d \\.\\.\\/public\\/dist",
      "endsPattern": "√  Built in \\d+\\.\\d+s\\."
    }
  }
  </code></pre>
  
  <p>Not sure why. Thanks for any help in advance.</p>