fix: use webpack for local frontend dev in serve.sh (#1832)

This commit is contained in:
luobo 2026-04-04 11:12:25 +08:00 committed by GitHub
parent 344402afb4
commit f6e6a9607c
1 changed files with 3 additions and 1 deletions

View File

@ -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"