Improve webpack polling config
This commit is contained in:
+2
-1
@@ -26,7 +26,8 @@ Encore
|
|||||||
babelConfig.plugins = [ '@babel/plugin-proposal-object-rest-spread', '@babel/plugin-syntax-dynamic-import' ]
|
babelConfig.plugins = [ '@babel/plugin-proposal-object-rest-spread', '@babel/plugin-syntax-dynamic-import' ]
|
||||||
})
|
})
|
||||||
.configureWatchOptions(function (options) {
|
.configureWatchOptions(function (options) {
|
||||||
options.poll = 250;
|
options.poll = 500;
|
||||||
|
options.ignored = /node_modules|vendor|fileadmin/;
|
||||||
});
|
});
|
||||||
|
|
||||||
const EpThemeConfig = Encore.getWebpackConfig();
|
const EpThemeConfig = Encore.getWebpackConfig();
|
||||||
|
|||||||
Reference in New Issue
Block a user