Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
An example of how to setup a Visual Studio Code Tasks.son file with a current working directory set. Useful if your gulp file is nested in a src folder.
{
"version": "0.1.0",
"command": "gulp",
"isShellCommand": true,
"options": {
"cwd": "${workspaceRoot}/src/MyProject"
},
"tasks": [
{
"taskName": "dnu-build",
"isBuildCommand": true,
"showOutput": "always",
"isWatching": true
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment