From c50d8cc90af905ed36a82041f5b0f6c9e6d999f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Fromme?= Date: Sat, 15 Feb 2020 17:23:12 +0100 Subject: [PATCH] Improve webpack polling config --- webpack.config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/webpack.config.js b/webpack.config.js index 835266ad..3e0c1fa7 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -26,7 +26,8 @@ Encore babelConfig.plugins = [ '@babel/plugin-proposal-object-rest-spread', '@babel/plugin-syntax-dynamic-import' ] }) .configureWatchOptions(function (options) { - options.poll = 250; + options.poll = 500; + options.ignored = /node_modules|vendor|fileadmin/; }); const EpThemeConfig = Encore.getWebpackConfig();