#!/bin/bash
# HZHub Portal Employee 前端项目重启脚本
# 功能：重启后台运行的员工门户前端开发服务器

PROJECT_DIR="$(cd "$(dirname "$0")" && pwd)"

echo "========================================="
echo "重启 hzhub-portal-employee 开发服务器"
echo "========================================="

# 停止服务
"$PROJECT_DIR/stop.sh"

# 等待一秒
sleep 1

# 启动服务
"$PROJECT_DIR/start.sh"