Occupied ports and notifications
Nobody has claimed this yet.
- Dominant language
- Ruby
- Stars
- 256
- Forks
- 110
- PR merge metrics
- No merged PRs in 30d
Description
I did:
bin/middleman server
The documentation then says:
Then visit http://localhost:4567.
However nothing happened there. This may be because I have had a sinatra app
running on that port.
Would it be possible for TryRuby to first check for open ports;
then use an open port; and also on the commandline show
which local URL I could use? Sinatra does that by the way.
Edit: Actually it now works at:
Perhaps the documentation can mention that we should wait a bit?
It seems it took a few seconds or so. Now it works hmmm.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the bin/middleman server command and the documentation describing http://localhost:4567. Check how the command handles an occupied port and startup timing; done means it selects or reports a usable local URL and the documentation explains when and where to connect.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ruby
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100