Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display the "real" IP when Middleman was started #1363

Closed
jmuheim opened this issue Sep 2, 2014 · 2 comments
Closed

Display the "real" IP when Middleman was started #1363

jmuheim opened this issue Sep 2, 2014 · 2 comments
Labels

Comments

@jmuheim
Copy link

jmuheim commented Sep 2, 2014

== The Middleman is loading
== LiveReload is waiting for a browser to connect
== The Middleman is standing watch at http://0.0.0.0:4567
== Inspect your site configuration at http://0.0.0.0:4567/__middleman/

This doesn't offers much when needing to access the app from another device or computer.

== The Middleman is standing watch at http://192.168.1.123:4567
== Inspect your site configuration at http://192.168.1.123:4567/__middleman/

This would be much more useful.

@Arcovion
Copy link
Contributor

Arcovion commented Sep 2, 2014

Yea, I was wondering how to display this

So together with middleman-livereload you currently get all three displayed:

λ bundle exec middleman
== The Middleman is loading
== LiveReload accepting connections from http://192.168.0.3:4567 (localhost)
== The Middleman is standing watch at http://0.0.0.0:4567
== Inspect your site configuration at http://0.0.0.0:4567/__middleman/

Some computers will have multiple private IPs, or none at all. middleman-livereload just shows one of them and falls back to localhost.

Not sure what the best way is. Your suggestion is essentially merging the middleman-livereload message into core, then we can maybe remove the message from middleman-livereload...

@jmuheim
Copy link
Author

jmuheim commented Sep 2, 2014

Thanks for explaining. I'm always using LiveReload, so it doesn't bother me whether it's in core or not.

I'm looking forward to Middleman 4 then! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants