Configure VSCode to execute different task

前端 未结 3 1327
挽巷
挽巷 2020-12-29 17:05

I have a TypeScript project in Visual Studio Code with the following task:

{
  \"version\": \"0.1.0\",

  // The command is tsc.
  \"command\": \"tsc\",

  /         


        
3条回答
  •  天涯浪人
    2020-12-29 17:42

    I believe this was solved by a later feature, namely the pre launch task. You can have it run a task before it launches node/Chrome with F5.

    http://tstringer.github.io/javascript/vscode/nodejs/gulpjs/2015/10/14/vscode-prelaunchtask.html

提交回复
热议问题