diff --git a/webpack.js b/webpack.js index 77df5769..ab3fed3e 100644 --- a/webpack.js +++ b/webpack.js @@ -16,4 +16,9 @@ webpackConfig.resolve.alias = { webpackConfig.entry.main = path.resolve(path.join('src', 'main')); delete webpackConfig.optimization.splitChunks; +webpackConfig.watchOptions = { + ignored: /node_modules/, + aggregateTimeout: 300, +}; + module.exports = webpackConfig