From 08a19ae240c51175768ad25b92f9a2a598ebd5f5 Mon Sep 17 00:00:00 2001 From: lawvs <18554747+lawvs@users.noreply.github.com> Date: Thu, 22 Sep 2022 22:38:59 +0800 Subject: [PATCH] fix: ignore node_modules watcher --- apps/ligo-virgo/webpack.config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/ligo-virgo/webpack.config.js b/apps/ligo-virgo/webpack.config.js index 3b0750fade..a960c2a54e 100644 --- a/apps/ligo-virgo/webpack.config.js +++ b/apps/ligo-virgo/webpack.config.js @@ -203,10 +203,10 @@ module.exports = function (webpackConfig) { new BundleAnalyzerPlugin({ analyzerMode: 'static' }), ].filter(Boolean); - // Workaround for webpack infinite recompile errors config.watchOptions = { // followSymlinks: false, - ignored: ['**/*.css'], + // Ignore css to workaround webpack infinite recompile errors + ignored: ['**/node_modules', '**/*.css'], }; return config;