Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #1 from stefanpenner/master

Fixes, and stuff
  • Loading branch information...
commit b963f692b1818fa5c02ded26b9f7e1d57ffad6d4 2 parents 7bc2656 + ed6d893
Burke Libbey authored
Showing with 4 additions and 1 deletion.
  1. +1 −0  lib/webby/apps/main.rb
  2. +3 −1 lib/webby/auto_builder.rb
View
1  lib/webby/apps/main.rb
@@ -4,6 +4,7 @@
module Webby::Apps
class Main
+ include Rake::DSL
# Create a new instance of Main, and run the +webby+ application given the
# command line _args_.
View
4 lib/webby/auto_builder.rb
@@ -87,6 +87,8 @@ def run
Signal.trap('INT') {
puts "Autobuild is stopping, please wait..."
+
+ exit # some reason watchr is blocking...
@watcher.stop
@web_server.stop if @web_server
}
@@ -122,7 +124,7 @@ def initialize
@thread = nil
@running = false
@server = WEBrick::HTTPServer.new(
- :BindAddress => 'localhost',
+ :BindAddress => '0.0.0.0',
:Port => ::Webby.site.web_port,
:DocumentRoot => ::Webby.site.output_dir,
:FancyIndexing => true,
Please sign in to comment.
Something went wrong with that request. Please try again.