优化dev脚本

This commit is contained in:
jingrow 2025-11-03 21:40:39 +08:00
parent f1c27030d7
commit 9c888dde48

4
dev.sh
View File

@ -182,7 +182,7 @@ start_all() {
info "启动所有服务..."
# 使用延迟启动让后端先启动3秒
npx concurrently \
npx --yes concurrently \
--names "BACKEND,WORKER,FRONTEND" \
--prefix-colors "blue,yellow,green" \
"cd apps/jingrow && uv run python -m jingrow.app" \
@ -214,7 +214,7 @@ start_backend() {
# 构建热重载目录参数
RELOAD_DIRS=$(build_reload_dirs)
npx concurrently \
npx --yes concurrently \
--names "BACKEND,WORKER" \
--prefix-colors "blue,yellow" \
"cd apps/jingrow && uv run python -m jingrow.app" \