vscode: Task does not run on folderOpen under Remote - WSL

Issue Type: Bug

I have something like the following in my tasks.json:

    {
      "label": "tsc watch: subprojectName/tsconfig.json",
      "type": "typescript",
      "tsconfig": "subprojectName/tsconfig.json",
      "option": "watch",
      "problemMatcher": [
        "$tsc-watch"
      ],
      "group": {
        "kind": "build",
        "isDefault": true
      },
      "presentation": {
        "clear": true
      },
      "runOptions": {
        "runOn": "folderOpen"
      }
    }

That task does not run when I open its WSL workspace folder (with VSCode running on Windows). Also,

  1. I have done Tasks: Manage Automatic Tasks in Folder -> Allow.
  2. Manually running the task via Ctrl + Shift + B works.

Extension version: 0.58.2 VS Code version: Code 1.58.0 (2d23c42a936db1c7b3b06f918cde29561cc47cd6, 2021-07-08T06:54:55.083Z) OS version: Windows_NT x64 10.0.19041 Restricted Mode: No Remote OS version: Linux x64 5.4.72-microsoft-standard-WSL2

System Info
Item Value
CPUs Intel® Core™ i7-4710HQ CPU @ 2.50GHz (8 x 2494)
GPU Status 2d_canvas: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
skia_renderer: enabled_on
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 15.91GB (7.81GB free)
Process Argv –crash-reporter-id 0198d331-5e46-4651-b501-67cf2be1e237
Screen Reader no
VM 0%
Item Value
Remote WSL: Ubuntu-20.04
OS Linux x64 5.4.72-microsoft-standard-WSL2
CPUs Intel® Core™ i7-4710HQ CPU @ 2.50GHz (8 x 2494)
Memory (System) 12.41GB (11.62GB free)
VM 0%
A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
pythonvspyt678:30270856
pythonvspyt602:30300191
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyt639:30300192
pythontb:30283811
pythonvspyt551cf:30311713
vspre833:30321513
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
pythondataviewer:30285071
vscus158:30321503
pythonvsuse255cf:30335482
vscorehov:30309549
vscod805:30301674
pythonvspyt200cf:30331938
vscextlangct:30333562
binariesv615:30325510
vstea450:30335276
bridge0708:30335490

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 20 (10 by maintainers)

Commits related to this issue

Most upvoted comments

So far so good. Thanks!