优化dev脚本
This commit is contained in:
parent
f1c27030d7
commit
9c888dde48
4
dev.sh
4
dev.sh
@ -182,7 +182,7 @@ start_all() {
|
|||||||
|
|
||||||
info "启动所有服务..."
|
info "启动所有服务..."
|
||||||
# 使用延迟启动,让后端先启动3秒
|
# 使用延迟启动,让后端先启动3秒
|
||||||
npx concurrently \
|
npx --yes concurrently \
|
||||||
--names "BACKEND,WORKER,FRONTEND" \
|
--names "BACKEND,WORKER,FRONTEND" \
|
||||||
--prefix-colors "blue,yellow,green" \
|
--prefix-colors "blue,yellow,green" \
|
||||||
"cd apps/jingrow && uv run python -m jingrow.app" \
|
"cd apps/jingrow && uv run python -m jingrow.app" \
|
||||||
@ -214,7 +214,7 @@ start_backend() {
|
|||||||
# 构建热重载目录参数
|
# 构建热重载目录参数
|
||||||
RELOAD_DIRS=$(build_reload_dirs)
|
RELOAD_DIRS=$(build_reload_dirs)
|
||||||
|
|
||||||
npx concurrently \
|
npx --yes concurrently \
|
||||||
--names "BACKEND,WORKER" \
|
--names "BACKEND,WORKER" \
|
||||||
--prefix-colors "blue,yellow" \
|
--prefix-colors "blue,yellow" \
|
||||||
"cd apps/jingrow && uv run python -m jingrow.app" \
|
"cd apps/jingrow && uv run python -m jingrow.app" \
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user