-
Notifications
You must be signed in to change notification settings - Fork 344
Closed
Labels
in tasksRelates to VS Code tasks, such as those provided by Task ProvidersRelates to VS Code tasks, such as those provided by Task Providersis enhancementAn enhancement or improvement that should be listed in release notes but is not a bug fix.An enhancement or improvement that should be listed in release notes but is not a bug fix.
Milestone
Description
An issue for a problem, which came up in this issue: #1211 (comment)
Here is my project: intersect.zip
@DanTup Yes, at least sort of.
I wanted to start the watch task as soon as I open VS Code. So I did the following:
- STRG + SHIFT + P
- Typed: "Tasks Configure Task" ENTER
- Selected, the Task I wanted to configure
- Modified generated task.json to the following (only added
"runOptions"):
Now there is a warning:
Incorrect type. Expected "object".
And when I restart Visual Studio I get an error notification and following output:
Error: The pub task detection didn't contribute a task for the following configuration:
{
"type": "pub",
"command": "watch",
"problemMatcher": [
"dart-pub-build_runner"
],
"runOptions": {
"runOn": "folderOpen"
}
}
The task will be ignored.
Similar to this one:
dart-lang/build#1025 (comment)
Any idea?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
in tasksRelates to VS Code tasks, such as those provided by Task ProvidersRelates to VS Code tasks, such as those provided by Task Providersis enhancementAn enhancement or improvement that should be listed in release notes but is not a bug fix.An enhancement or improvement that should be listed in release notes but is not a bug fix.
