8000 Add a Vite problem matcher to the VS Code extension by segevfiner · Pull Request #1320 · vuejs/language-tools · GitHub
[go: up one dir, main page]

Skip to content

Add a Vite problem matcher to the VS Code extension #1320

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

Merged
merged 1 commit into from
May 22, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Add a Vite problem matcher to VS Code extension
Vite doesn't really print build errors to the terminal AFAIK, this is
for the background patterns that will allow to properly set a vite task
as `isBackground`, and to properly use it in `preLaunchTask` in launch
configurations.
  • Loading branch information
segevfiner committed May 19, 2022
commit 42d62dfea62fac8c20138d4a219559c26bfe95dc
16 changes: 15 additions & 1 deletion extensions/vscode-vue-language-features/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -638,7 +638,21 @@
"group": "navigation"
}
]
}
},
"problemMatchers": [
{
"name": "vite",
"label": "Vite problems",
"pattern": {
"regexp": ""
},
"background": {
"activeOnStart": true,
"beginsPattern": "restarting server...$",
"endsPattern": "^\\s*ready in"
}
}
]
},
"scripts": {
"prebuild": "cd ../.. && npm run build",
Expand Down
0