Skip to content

Commit 1320517

Browse files
committed
chore: Improve dev efficient on M1 Mac
1 parent a912ea2 commit 1320517

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

server/app.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,11 @@ if (isProduction) {
7777
// that means no watching, but recompilation on every request
7878
lazy: false,
7979

80+
watchOptions: {
81+
poll: 1000,
82+
ignored: ["node_modules"]
83+
},
84+
8085
// public path to bind the middleware to
8186
// use the same as in webpack
8287
publicPath: config.output.publicPath,

0 commit comments

Comments
 (0)