在VSCode启动时运行tsc:watch任务

时间:2020-09-02 19:23:35

标签: typescript visual-studio-code

我无法让任务tsc:watch在启动时自动运行。我从他们的documentation here中尝试了此片段,但没有成功。有什么想法吗?

  "tasks": [
    {
      "type": "typescript",
      "tsconfig": "tsconfig.json",
      "problemMatcher": ["$tsc"],
      "group": {
        "kind": "build",
        "isDefault": true
      }
    }
  ]

0 个答案:

没有答案