Skip to content

Commit

Permalink
chore: Improve dev efficient on M1 Mac
Browse files Browse the repository at this point in the history
  • Loading branch information
tommoor committed Jan 29, 2021
1 parent a912ea2 commit 1320517
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions server/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 1320517

Please sign in to comment.