From cb320747fb4e1cfd6cee24824002e7e622cb7db8 Mon Sep 17 00:00:00 2001 From: yann300 Date: Mon, 6 Mar 2023 12:10:23 +0100 Subject: [PATCH] update notify watcher --- apps/debugger/webpack.config.js | 4 ++++ apps/etherscan/webpack.config.js | 4 ++++ apps/remix-ide-e2e/src/local-plugin/webpack.config.js | 4 ++++ apps/remix-ide/webpack.config.js | 4 ++++ apps/solidity-compiler/webpack.config.js | 4 ++++ apps/vyper/webpack.config.js | 4 ++++ 6 files changed, 24 insertions(+) diff --git a/apps/debugger/webpack.config.js b/apps/debugger/webpack.config.js index fa6f5e3b06..9feb0dc08d 100644 --- a/apps/debugger/webpack.config.js +++ b/apps/debugger/webpack.config.js @@ -79,5 +79,9 @@ module.exports = composePlugins(withNx(), (config) => { new CssMinimizerPlugin(), ]; + config.watchOptions = { + ignored: /node_modules/ + } + return config; }); diff --git a/apps/etherscan/webpack.config.js b/apps/etherscan/webpack.config.js index 45c7c5dd14..9d72c43a6c 100644 --- a/apps/etherscan/webpack.config.js +++ b/apps/etherscan/webpack.config.js @@ -78,5 +78,9 @@ module.exports = composePlugins(withNx(), (config) => { new CssMinimizerPlugin(), ]; + config.watchOptions = { + ignored: /node_modules/ + } + return config; }); diff --git a/apps/remix-ide-e2e/src/local-plugin/webpack.config.js b/apps/remix-ide-e2e/src/local-plugin/webpack.config.js index a98229d072..25932a1054 100644 --- a/apps/remix-ide-e2e/src/local-plugin/webpack.config.js +++ b/apps/remix-ide-e2e/src/local-plugin/webpack.config.js @@ -17,5 +17,9 @@ module.exports = composePlugins(withNx(), (config) => { config.ignoreWarnings = [/Failed to parse source map/] // ignore source-map-loader warnings + config.watchOptions = { + ignored: /node_modules/ + } + return config; }); diff --git a/apps/remix-ide/webpack.config.js b/apps/remix-ide/webpack.config.js index 8b08e62145..347f12371e 100644 --- a/apps/remix-ide/webpack.config.js +++ b/apps/remix-ide/webpack.config.js @@ -96,5 +96,9 @@ module.exports = composePlugins(withNx(), withReact(), (config) => { new CssMinimizerPlugin(), ]; + config.watchOptions = { + ignored: /node_modules/ + } + return config; }); diff --git a/apps/solidity-compiler/webpack.config.js b/apps/solidity-compiler/webpack.config.js index ad6144a8dc..e19684ca91 100644 --- a/apps/solidity-compiler/webpack.config.js +++ b/apps/solidity-compiler/webpack.config.js @@ -89,5 +89,9 @@ module.exports = composePlugins(withNx(), withReact(), (config) => { new CssMinimizerPlugin(), ]; + config.watchOptions = { + ignored: /node_modules/ + } + return config; }); diff --git a/apps/vyper/webpack.config.js b/apps/vyper/webpack.config.js index fa6f5e3b06..9feb0dc08d 100644 --- a/apps/vyper/webpack.config.js +++ b/apps/vyper/webpack.config.js @@ -79,5 +79,9 @@ module.exports = composePlugins(withNx(), (config) => { new CssMinimizerPlugin(), ]; + config.watchOptions = { + ignored: /node_modules/ + } + return config; });