Skip to content

Instantly share code, notes, and snippets.

@scottaddie
Created August 26, 2015 02:33
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 scottaddie/f5eb8e2d81cddb471f31 to your computer and use it in GitHub Desktop.
Save scottaddie/f5eb8e2d81cddb471f31 to your computer and use it in GitHub Desktop.
// Available variables which can be used inside of strings.
// ${workspaceRoot}: the root folder of the team
// ${file}: the current opened file
// ${fileBasename}: the current opened file's basename
// ${fileDirname}: the current opened file's dirname
// ${fileExtname}: the current opened file's extension
// ${cwd}: the current working directory of the spawned process
{
"version": "0.1.0",
"command": "${workspaceRoot}/node_modules/.bin/babel",
"isShellCommand": true,
"tasks": [
{
"args": ["./gulpfile.babel.js", "--out-file", "./gulpfile.js", "-w"],
"taskName": "watch",
"suppressTaskName": true,
"isBuildCommand": true, // make this the F1 > Task: Run Build Task gesture
"isWatching": true // tell VS Code not wait for this task to finish
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment