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 bbd0866374
commit 4ceb18c6e4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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"