class Blogdoor::Command

Public Instance Methods

start() click to toggle source
# File lib/blogdoor/command.rb, line 8
def start
  builder = Builder.new(ignore_patterns: options[:ignore])
  builder.build_all
  watcher = Watcher.new
  watcher.builder = builder
  watcher.start
  Rack::Handler::Thin.run Server.new, Port: 5678
end