From beda5138e018d9a853d57bd7274a35c21fa5c366 Mon Sep 17 00:00:00 2001 From: Kristóf Marussy Date: Fri, 19 Aug 2022 21:23:31 +0200 Subject: fix(frontend): destroy service worker in dev mode If the application is run in both production and development mode on the same domain, make sure to clean up the production service worker. --- subprojects/frontend/.eslintrc.cjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'subprojects/frontend/.eslintrc.cjs') diff --git a/subprojects/frontend/.eslintrc.cjs b/subprojects/frontend/.eslintrc.cjs index 68636f4e..625aab7a 100644 --- a/subprojects/frontend/.eslintrc.cjs +++ b/subprojects/frontend/.eslintrc.cjs @@ -36,7 +36,7 @@ module.exports = { env: { browser: true, }, - ignorePatterns: ['build/**/*'], + ignorePatterns: ['build/**/*', 'dev-dist/**/*'], rules: { // In typescript, some class methods implementing an inderface do not use `this`: // https://github.com/typescript-eslint/typescript-eslint/issues/1103 -- cgit v1.2.3-54-g00ecf