xy2z / capro

PHP8 static site generator
MIT License
8 stars 2 forks source link

Serve: Check if port is busy before serving #8

Closed xy2z closed 1 year ago

xy2z commented 1 year ago

Right now capro serve will tell you it's running even if you specify a busy port. It would be nice to check if the port is "free" before starting, and then throw an error if port is busy.