From 4eff12ad51cbee5dc61edc305d14c295d5ee8719 Mon Sep 17 00:00:00 2001
From: Valentin Lorentz <vlorentz@softwareheritage.org>
Date: Tue, 16 Nov 2021 14:01:47 +0100
Subject: [PATCH] webpack: Remove .tox and .mypy from the files to watch

There are too many, which causes crashes.
---
 assets/config/webpack.config.development.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/assets/config/webpack.config.development.js b/assets/config/webpack.config.development.js
index a1855fcbd..a83d09dab 100644
--- a/assets/config/webpack.config.development.js
+++ b/assets/config/webpack.config.development.js
@@ -115,7 +115,7 @@ module.exports = {
     static: {
       directory: path.resolve('./'),
       watch: {
-        ignored: /node_modules/
+        ignored: /(node_modules|.tox|.mypy)/
       }
     },
     // we do not use hot reloading here (as a framework like React needs to be used in order to fully benefit from that feature)
-- 
GitLab