Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

chore(webpack): fix watch for webpack 5 (#9516)

Joel Einbinder4c9d7d5cccd3
diff --git a/utils/build/build.js b/utils/build/build.js
index 3ff67a0f25..a9c5eb30cf 100644
--- a/utils/build/build.js
+++ b/utils/build/build.js
@@ -129,7 +129,7 @@ const webPackFiles = [
for (const file of webPackFiles) {
steps.push({
command: 'npx',
- args: ['webpack', '--config', filePath(file), ...(watchMode ? ['--watch', '--silent'] : [])],
+ args: ['webpack', '--config', filePath(file), ...(watchMode ? ['--watch', '--stats', 'none'] : [])],
shell: true,
env: {
NODE_ENV: watchMode ? 'development' : 'production'