From 8fc980c5792d2b3833e34279efeb9837b803f20d Mon Sep 17 00:00:00 2001 From: Will Scullin Date: Sun, 23 Aug 2020 06:36:09 -0700 Subject: [PATCH] Better watch behavior. --- webpack.config.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/webpack.config.js b/webpack.config.js index d30158f..dc5a7c3 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -16,7 +16,10 @@ module.exports = devServer: { compress: true, publicPath: '/dist/', - watchContentBase: true + watchContentBase: true, + watchOptions: { + ignored: /node_modules/ + } }, module: { rules: [