diff --git a/app.rb b/app.rb old mode 100644 new mode 100755 index 2ca49af..f92bbd8 --- a/app.rb +++ b/app.rb @@ -1,3 +1,4 @@ +#!/usr/bin/ruby require 'watir' require 'watir-scroll' require 'zeitwerk' @@ -16,6 +17,11 @@ loader.setup # # @todo let the developer provide the list of tests that are ran def main argv = [], argc + + if argv.include? '--server' + Server.run! + return false + end Thread.new { Server.run!