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
1 changed files with 5 additions and 0 deletions

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,