lib/wd_sinatra/app_loader.rb
def server(sinatra_app=nil)
      raise StandardError, "WDSinatra::AppLoader#setup must be run first." unless root_path
      unless @server_loaded
        set_sinatra_settings
        set_sinatra_routes(sinatra_app)
        load_hooks
        @server_loaded = true
      end
    end
def server(sinatra_app=nil)
      raise StandardError, "WDSinatra::AppLoader#setup must be run first." unless root_path
      unless @server_loaded
        set_sinatra_settings
        set_sinatra_routes(sinatra_app)
        load_hooks
        @server_loaded = true
      end
    end
Boot server