Merge pull request #1254 from Arcovion/patch-1

Change default IP for CLI server
This commit is contained in:
Thomas Reynolds 2014-04-11 09:39:54 -07:00
commit 9d0eb72e73

View file

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