From 4ceb18c6e4fe5c241ab94446516d2414a7b1b689 Mon Sep 17 00:00:00 2001 From: luobo <44131846+who96@users.noreply.github.com> Date: Sat, 4 Apr 2026 11:12:25 +0800 Subject: [PATCH] fix: use webpack for local frontend dev in serve.sh (#1832) --- scripts/serve.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/serve.sh b/scripts/serve.sh index ae1c153ac..5a1b0cbac 100755 --- a/scripts/serve.sh +++ b/scripts/serve.sh @@ -28,7 +28,9 @@ for arg in "$@"; do done if $DEV_MODE; then - FRONTEND_CMD="pnpm run dev" + # Webpack dev mode is more stable for the workspace routes in this repo. + # Turbopack currently triggers hydration mismatch overlays on the chat page. + FRONTEND_CMD="pnpm exec next dev --webpack" else if command -v python3 >/dev/null 2>&1; then PYTHON_BIN="python3"