Change default IP

Enables #1248 by default.
This commit is contained in:
Eliott Appleford 2014-04-11 14:11:44 +01:00 committed by Arcovion
parent 1de2f5c290
commit a50ca3a49d

View file

@ -15,7 +15,7 @@ module Middleman::Cli
method_option :host, method_option :host,
:type => :string, :type => :string,
:aliases => '-h', :aliases => '-h',
:default => '0.0.0.0', :default => Socket.ip_address_list.find(&:ipv4_private?).ip_address,
:desc => 'Bind to HOST address' :desc => 'Bind to HOST address'
method_option :port, method_option :port,
:aliases => '-p', :aliases => '-p',