From c8d3c0b935626fa8b4a05f0d20b6bfa7bd0b5527 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D1=81=D0=B5=D0=BB=D1=8C?= Date: Mon, 16 Nov 2026 10:17:52 +0500 Subject: [PATCH] =?UTF-8?q?PEP-144:=20no=20dev=20log=20file=20on=20the=20l?= =?UTF-8?q?ive=20site=20=E2=80=94=20it=20made=20every=20open=20tab=20rebui?= =?UTF-8?q?ld=20the=20page=20in=20a=20loop?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Fable 5.2 --- apps/web/next.config.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/apps/web/next.config.ts b/apps/web/next.config.ts index 0c8d70f3..9d3da3a7 100644 --- a/apps/web/next.config.ts +++ b/apps/web/next.config.ts @@ -22,6 +22,11 @@ const config: NextConfig = { // (a stale tab, a hydration mismatch) wrote to the log on every load and the reload never // stopped; that locked everyone out on 15.11. Browser errors go to Bugsink instead (PEP-91). logging: { browserToTerminal: false }, + // PEP-144: with the dev MCP server on (the default) Next also writes every browser and server + // log line to .next/dev/logs/next-development.log. On the live site each open tab logged on + // every refresh, the write was picked up as a change, the page refreshed and logged again — + // several rebuilds a second, pages never settled. Off: no log file, no /_next/mcp endpoint. + experimental: { mcpServer: false }, // No Next.js badge and no «Issue» pill on the live site: a product manager must not see dev tools. devIndicators: false, // Dev chunks keep their names between edits; Cloudflare turns the dev server's `no-cache` into a