chore: Improve dev efficient on M1 Mac

This commit is contained in:
Tom Moor
2021-01-28 21:01:53 -08:00
parent a912ea24f6
commit 13205171d7

View File

@@ -77,6 +77,11 @@ if (isProduction) {
// that means no watching, but recompilation on every request
lazy: false,
watchOptions: {
poll: 1000,
ignored: ["node_modules"]
},
// public path to bind the middleware to
// use the same as in webpack
publicPath: config.output.publicPath,