lib/stack/server.rb in stack-0.0.6 vs lib/stack/server.rb in stack-0.0.7
- old
+ new
@@ -11,10 +11,10 @@
self.target = self.generator.target
end
def observe
self.http_server = WEBrick::HTTPServer.new(
- :Port => 4000,
+ :Port => Stack::runner.configuration.server_port,
:DocumentRoot => self.target
)
self.thread = Thread.new {
self.http_server.start
\ No newline at end of file