Multiple Commands With Visual Studio Code
Posted on December 10th, 2016
In Microsoft's Visual Studio Code, it is possible to define multiple commands in the tasks.json file by setting the top level command to be the command prompt, powershell, bash terminal, or any other terminal depending on your operating system. This allows you to define multiple tasks that may run npm, typescript compilers, dotnet commands, and more. This is incredibly useful, although Microsoft doesn't make it obvious. Checkout the following example:
Now that you tasks are setup, you can run them just like normal (ctrl+p):
If you have any questions or comments, feel free to leave them below!