

ShowOutput: Control the output window with this parameter, silent means it will not show unless something goes wrong.

So what’s going on in this file? Not much is changed from the default template, the big thing is the added task, but the notable stuff is: Edit the file according to the snippet below.This will create a tasks.json file under a folder named.TsResult.js.pipe(st(paths.tsOutput))Ĭonfigure the Visual Studio Code Build Taskįollow the following steps to bind the Gulp task to the build command: In this example, the Gulp task to be wired up looks like below: Below is detailed how VS Code needs to be configured to trigger the TypeScript build Gulp-task with Ctrl-Shift-B. Let’s say we’re using TypeScript in our project and want to use Gulp for the build step. No more hassle running tasks from the Command Palette So instead of hitting Ctrl-Shift-P, typing Task and then selecting the task/tasks you need to run you, just press Ctrl-Shift-B and it’s all done! Visual Studio Code (VS Code) Build Task ConfigurationĪ quick tip about improving productivity in VS Code is to setup the build task command to run the build steps you need.
