From 718fb215082b7b57d225bec9e210c179c7b10a13 Mon Sep 17 00:00:00 2001 From: Ilya Verpovskiy Date: Tue, 4 Jan 2022 14:33:28 +0300 Subject: [PATCH] add Timeout in watchOptions --- template/webpack.config.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/template/webpack.config.js b/template/webpack.config.js index d35da09..3c4b243 100644 --- a/template/webpack.config.js +++ b/template/webpack.config.js @@ -16,6 +16,10 @@ module.exports = { devServer: { contentBase: dist, }, + watchOptions: { + aggregateTimeout: 100, + poll: 100, + }, plugins: [ new CopyPlugin([ path.resolve(__dirname, "static")