Clean up ports 8000 and 5173 if in use
()
| 170 | |
| 171 | |
| 172 | def cleanup_ports(): |
| 173 | """Clean up ports 8000 and 5173 if in use""" |
| 174 | for port in [8000, 5173]: |
| 175 | if is_port_in_use(port): |
| 176 | print(f"⚠️ Port {port} is in use, cleaning up...") |
| 177 | kill_process_on_port(port) |
| 178 | time.sleep(1) |
| 179 | |
| 180 | |
| 181 | def install_backend_deps(): |
no test coverage detected