From 69707cb18488d3cab6ec9acc775548dde99ef92b Mon Sep 17 00:00:00 2001 From: Will Scullin Date: Tue, 8 Sep 2020 20:48:44 -0700 Subject: [PATCH] Better dev server watching. --- webpack.config.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/webpack.config.js b/webpack.config.js index d42a8c6..7000d7f 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -15,6 +15,9 @@ module.exports = devServer: { compress: true, publicPath: '/dist/', - watchContentBase: true + watchContentBase: true, + watchOptions: { + ignored: /node_modules/ + } } };