Skip to content

Commit

Permalink
Add preLaunchTask example
Browse files Browse the repository at this point in the history
  • Loading branch information
Greg Van Liew committed Jul 14, 2017
1 parent ff2d4ee commit 4cf3901
Showing 1 changed file with 27 additions and 1 deletion.
28 changes: 27 additions & 1 deletion release-notes/v1_14.md
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,33 @@ Many cool features come with the new task format:

* We are working with extension providers to add dotnet, Maven and others in the future.

* As you can see from the image above, auto-detected tasks are prefixed with the type of task ('npm:', 'gulp:', 'grunt:', 'tsc:', or 'jake:'). If you are referencing an auto-detected task in another file, for example as a `preLaunchTask` in `launch.json`, you will need to update that task reference with the prefix.
* As you can see from the image above, auto-detected tasks are prefixed with the type of task ('npm:', 'gulp:', 'grunt:', 'tsc:', or 'jake:'). If you are referencing an auto-detected task in another file, for example as a `preLaunchTask` in `launch.json`, you will need to update that task reference with the prefix. Assuming you have the following `launch.json` and the "build" task comes from a gulp file,

```json
{
"version": "0.1.0",
"configurations": [
{
...
"preLaunchTask": "build"
}
]
}
```

you now need to change this to:

```json
{
"version": "0.1.0",
"configurations": [
{
...
"preLaunchTask": "gulp: build"
}
]
}
```

* Guided problem matcher selection when executing a task without one:

Expand Down

0 comments on commit 4cf3901

Please sign in to comment.