Skip to content

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

chore: fix 'npm run watch' memory leak in esbuild (#35547)

Max Schmittb7799f3293ca
diff --git a/utils/build/build.js b/utils/build/build.js
index 71a6c1606f..e4a3d3378f 100644
--- a/utils/build/build.js
+++ b/utils/build/build.js
@@ -254,7 +254,7 @@ for (const pkg of workspace.packages()) {
quotePath(path.join(pkg.path, 'src/**/*.ts')),
`--outdir=${quotePath(path.join(pkg.path, 'lib'))}`,
...(withSourceMaps ? [`--sourcemap=linked`] : []),
- ...(watchMode ? ['--watch=true'] : []),
+ ...(watchMode ? ['--watch'] : []),
'--platform=node',
'--format=cjs',
],