auto-increment project server port if not given #219

Closed
opened 5 years ago by Macavirus · 1 comments
Macavirus commented 5 years ago (Migrated from github.com)

Many projects use similar range of ports as pollen's default 8080. It would be friendly behaviour to auto-increment this for say, 10 ports until an empty one was found if 8080 isn't available, rather than die with an error.

Many projects use similar range of ports as pollen's default `8080`. It would be friendly behaviour to auto-increment this for say, 10 ports until an empty one was found if `8080` isn't available, rather than die with an error.
mbutterick commented 5 years ago (Migrated from github.com)

The port is configurational, not discretionary. Therefore it’s better to let the error surface (so that the user can reconfigure).

The port is configurational, not discretionary. Therefore it’s better to let the error surface (so that the user can reconfigure).
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: mbutterick/pollen#219
Loading…
There is no content yet.