Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for VS Code tasks background beginsPattern/endsPattern #7

Open
segevfiner opened this issue May 13, 2022 · 0 comments
Open

Comments

@segevfiner
Copy link

VS Code supports monitoring background watch tasks by defining a regex pattern to match a message line when compilation starts and another one for when compilation ends. Messages between those two lines will be checked for problems using the problemMatcher patterns. This allows it to pick up problems for the problems view and mark whether the background watch task succeeded or failed, it has a canned problemMatcher configuration for tsc --watch which can be used to see how this should work. (Also VS Code's own committed tasks for watching VS Code own source also have such patterns defined
The problem is that @soda/friendly-errors-webpack-plugin doesn't output any message after it goes idle, and after the reported problems, instead you get the compilation ended message before the ES Lint/Build problem report, and no specific message when the background TS type checking ends. There needs to be a messages to anchor the beginsPattern/endsPattern so as to properly support VS Code problem matchers.

See vuejs/vue-cli#7073

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant