TryRuby
TryRuby copied to clipboard
Occupied ports and notifications
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:
http://127.0.0.1:4567/
Perhaps the documentation can mention that we should wait a bit? It seems it took a few seconds or so. Now it works hmmm.