Przeglądaj źródła

[web] disable watching of services/web/public/ in cypress (#27796)

GitOrigin-RevId: 8866bdf85bbe0480fb50e9a7b35a0c0f8928d06e
Jakob Ackermann 1 rok temu
rodzic
commit
4ecfd97345

+ 4 - 1
services/web/cypress/support/webpack.cypress.ts

@@ -10,7 +10,10 @@ const buildConfig = () => {
       workerPublicPath: '/__cypress/src/',
       workerPublicPath: '/__cypress/src/',
     },
     },
     devServer: {
     devServer: {
-      static: path.join(__dirname, '../../public'),
+      static: {
+        directory: path.join(__dirname, '../../public'),
+        watch: false,
+      },
       port: 3200,
       port: 3200,
     },
     },
     stats: 'none',
     stats: 'none',