(port: number)
| 5 | * Kill process by port |
| 6 | */ |
| 7 | export async function killProcess(port: number) { |
| 8 | return $`lsof -t -i tcp:${port} | xargs kill`.catch(() => null); |
| 9 | } |
| 10 | |
| 11 | /** |
| 12 | * Loop over all frameworks, find their port, and kill their |
nothing calls this directly
no outgoing calls
no test coverage detected