What problem does it solve?
This Skill provides a reliable way to stop a locally running Flask server, preventing "address already in use" errors and ensuring a clean shutdown. It automates the process of identifying and terminating the server process, saving you from manual lsof and kill commands.
Core Features & Use Cases
- Clean Server Termination: Stops Flask servers running on port 8080, whether they were started in foreground or background mode.
- Multiple Stop Methods: Utilizes a dedicated
stop.sh script, lsof for process identification, or Ctrl+C for flexibility.
- Use Case: Before restarting your Flask server with new code, use this skill to ensure the previous instance is fully shut down, avoiding port conflicts and ensuring a fresh start.
Quick Start
Stop the local Python Flask server.