#!/bin/bash # # Restart Visual Workflow Builder - Full Stack # # This script restarts both backend and frontend servers # SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" # Colors for output GREEN='\033[0;32m' BLUE='\033[0;34m' NC='\033[0m' # No Color echo "==========================================" echo "Visual Workflow Builder - Restart All" echo "==========================================" # Stop all services echo -e "${BLUE}Stopping all services...${NC}" "$SCRIPT_DIR/stop.sh" # Wait a moment sleep 2 # Start all services echo "" echo -e "${BLUE}Starting all services...${NC}" "$SCRIPT_DIR/start.sh"