Restart Server
Description
--- description: 重启/停止开发服务(Backend:18081 + MCP:3100 + FrontEnd:3000) argument-hint: "[stop|backend|mcp|frontend]" --- ## 参数解析 用户传入的参数:action=`$ARGUMENTS` - `stop`:停止 Backend + MCP + FrontEnd - `backend`:仅重启 Backend - `mcp`:仅重启 MCP - `frontend`:仅重启 FrontEnd - 空或其他值:重启 Backend + MCP + FrontEnd(默认) --- ## 执行 直接运行脚本,将 action 作为参数传入: ```bash bash E:/GameMaker/scripts/restart-dev.sh <action> ``` - action 为空时不传参数 - timeout **300000**ms(5 分钟,编译可能较慢) - 脚本会自动处理:停止旧进程 → 编译 → 启动 → 健康检查 --- ## 输出结果
Installation
Installs to ~/.claude/commands/chaohong-ai-ai-auto-work-restart-server.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/chaohong-ai/ai-auto-work/HEAD/.claude/commands/restart-server.md -o ~/.claude/commands/chaohong-ai-ai-auto-work-restart-server.md Restart Claude Code, or start a new session, for it to be picked up.
Full documentation available on GitHub
View Source RepositoryRelated Skills
Awesome Go
A curated list of awesome Go frameworks, libraries and software
Development next.js
| The React Framework | 138360 | 1503 | 1 |
Development sharing-skills
skill for guidance.
Development root-cause-tracing
Use when errors occur deep in execution and you need to trace back to find the original trigger.
Development Template Skill
Minimal skeleton for a new skill project structure.
Development Third-party Notices
THE FOLLOWING SETS FORTH ATTRIBUTION NOTICES FOR THIRD PARTY SOFTWARE THAT MAY BE CONTAINED IN PORTIONS OF THI
Development