From ccb90c24f09b949b0fa34ede68d69f1e61afbf37 Mon Sep 17 00:00:00 2001 From: James Clark Date: Tue, 15 Mar 2022 22:01:16 -0400 Subject: [PATCH] Fix problemMatcher patterns for the watch task (#1137) Webpack output patterns have changed since these patterns were written, without this change the default launch config hangs. --- .vscode/tasks.json | 4 ++-- webpack.config.js | 5 ++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 279d3ce..114cae5 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -25,8 +25,8 @@ ], "background": { "activeOnStart": true, - "beginsPattern": "Compilation \\w+ starting…", - "endsPattern": "Compilation\\s+finished" + "beginsPattern": "Compiler '[^']+' starting", + "endsPattern": "Compiler '[^']+' finished" } }, "isBackground": true, diff --git a/webpack.config.js b/webpack.config.js index 5f8a82e..54342f8 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -35,6 +35,9 @@ module.exports = function (env, argv) { 'applicationinsights-native-metrics': 'commonjs applicationinsights-native-metrics', // ignored because we don't ship native module vscode: 'commonjs vscode' }, - devtool: 'source-map' + devtool: 'source-map', + infrastructureLogging: { + level: 'log' + } }]; }; \ No newline at end of file