question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

"There are task errors" while typing in tasks.json

See original GitHub issue
  • Have a task like this:
{
	"type": "npm",
	"script": "web",
	"label": "Run web",
	"isBackground": true,
	"presentation": {
		"reveal": "never"
	}
}
  • Add this
"problemMatcher": {
	"background": {

	}
},
  • Get a warning popup immediately, “There are task errors. See the output for details”
  • I’m still typing, I know there are errors, it should leave me alone for a minute or until I close the editor

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
Tyriarcommented, Jun 30, 2022

We should align with how language servers/lint extensions normally work imo

0reactions
meganroggecommented, Jun 30, 2022

I’ve encountered this too.

couldn’t we update without the delay but if something is not correct, wait 20 seconds, check again, then decide whether or not to show the error notification?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Tasks in Visual Studio Code
Integrate with External Tools via Tasks. Lots of tools exist to automate tasks like linting, building, packaging, testing, or deploying software systems.
Read more >
Ignore error from the preivous build task in tasks.json
To ignore error code in task of type shell , simply add some nop command at the end using || operator. Valid for...
Read more >
The lime task detection didn't contribute a task for the following ...
I have the latest lime and haxe extensions for vscode, I have a ... errror: There is no task provider registered for tasks...
Read more >
Integrate with External Tools via Tasks - vscode-docs
Mapping Gulp, Grunt and Jake Output to Problem Matchers ... You need to configure the tasks in tasks.json if you want to do...
Read more >
VSCode tasks and parsing your custom output for problems
Note that the above task configuration parses the errors/warning in the output, to show them in the “Problems” panel. So the line: C:\P\ ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found