-
Notifications
You must be signed in to change notification settings - Fork 37.2k
Description
I have a watch task that runs various per-file checks (lint, appropriate tests, etc). When it starts up, it runs those checks for all files in the project. Thereafter, it only runs checks on files that change.
For the most part, it works great; but the one limitation I'm running into is that all problems for a particular matcher are cleared on a run.
For example:
-
I boot up the watch task, and there are problems on
foo.jsandbar.js. The problem matcher picks up on all of these. -
I make a change to
foo.js:a. The watch task re-runs checks for just
foo.js.
b. The problem matcher notices that a re-run has occurred, and blows away all problems of that type
c. Only problems forfoo.jsare listed, even thoughbar.jsstill has issues.
I'd like to avoid building a language server or plugin for this if I can (the watch task is very useful to non VS code users on the team; and problem matchers are wonderfully simple).
Or maybe we could have an option for only clearing problems for files that have changed (or that match a particular expression?)