From fb47bb02ef813a5ca1fe8ef62c52a7b907b63491 Mon Sep 17 00:00:00 2001 From: Tim Neutkens Date: Mon, 22 Feb 2021 14:41:59 +0100 Subject: [PATCH] Reduce webpack watcher aggregate timing Reduces the time the watcher waits for events coming in before compiling. --- packages/next/build/webpack-config.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/next/build/webpack-config.ts b/packages/next/build/webpack-config.ts index 6a824e9a78aea..c09bb41341d7f 100644 --- a/packages/next/build/webpack-config.ts +++ b/packages/next/build/webpack-config.ts @@ -838,6 +838,7 @@ export default async function getBaseWebpackConfig( } }, watchOptions: { + aggregateTimeout: 5, ignored: [ '**/.git/**', '**/node_modules/**',