Skip to content

Instantly share code, notes, and snippets.

@tdshipley
Created March 20, 2016 13:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tdshipley/3aac9d8278057f6a0cf5 to your computer and use it in GitHub Desktop.
Save tdshipley/3aac9d8278057f6a0cf5 to your computer and use it in GitHub Desktop.
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