-
Notifications
You must be signed in to change notification settings - Fork 231
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
Use yo code to generate a template,and use "Bundle the source code with webpack". when press F5 , it still building,can not launch a extensionHost #239
Comments
More precisely, within vscode when doing
but then does not actually open the VS Code Extension Development Host. |
Should it be |
Yeah. Same problem here. I guess tsl-problem-matcher is incompatible with webpack 5 (eamodio/vscode-tsl-problem-matcher#4, eamodio/vscode-tsl-problem-matcher#5). As a temporary solution, you could: in .vscode/tasks.json, change "problemMatcher": [
"$ts-webpack-watch",
"$tslint-webpack-watch"
], to "problemMatcher": "$tsc-watch", in package.json, change "watch": "webpack --watch --config ./build/node-extension.webpack.config.js", to "watch": "tsc -watch -p ./", Now the scripts |
I see the same. @eamodio Can you help by updating the extension? PR eamodio/vscode-tsl-problem-matcher#5 is there but it seem the pattern needs to be improved further |
I've been holding off on further updates because of this discussion webpack/webpack-cli#2374. But I'll see what I can do with the messages we have now. |
for the time being, use [email protected]
refs: webpack/webpack-cli#2206 (comment) |
@eamodio Any updates? I can't leave it broken... |
Will get it fixed today, though with webpack cli later than 4.2 you'll need a flag (until I can get changes landed) |
@aeschli I published a new version of the problem matchers (0.4.0). Although with webpack-cli > 4.2 we'll need to add this to the infrastructureLogging: {
level: 'log',
},` Although, even with that change, I see the problem matcher match error, but I am not seeing I will talk to @Tyriar tomorrow about it. |
Thanks @eamodio, the new version works! |
I believe that eamodio/vscode-tsl-problem-matcher#9 solves the remaining issue, which was that errors or success would not get caught during a re-compilation as shown at eamodio/vscode-tsl-problem-matcher#9 (comment). |
No description provided.
The text was updated successfully, but these errors were encountered: