Enable webpack polling
This commit is contained in:
+1
-1
@@ -6,7 +6,7 @@
|
||||
"license": "WTFPL",
|
||||
"repository": "https://gitlab.com/dreipunktnull/ep_theme.git",
|
||||
"scripts": {
|
||||
"dev": "./node_modules/.bin/encore dev --watch",
|
||||
"dev": "./node_modules/.bin/encore dev --watch --watch-poll",
|
||||
"build": "./node_modules/.bin/encore production"
|
||||
},
|
||||
"dependencies": {
|
||||
|
||||
+2
-1
@@ -60,7 +60,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/;
|
||||
});
|
||||
|
||||
const EpEventsConfig = Encore.getWebpackConfig();
|
||||
|
||||
Reference in New Issue
Block a user