lib/commands/server.rb in pakyow-0.9.1 vs lib/commands/server.rb in pakyow-0.10.0

- old
+ new

@@ -1,10 +1,10 @@ if ARGV.first == '--help' || ARGV.first == '-h' puts File.open(File.join(PAK_PATH, 'commands/USAGE-SERVER')).read else $:.unshift(Dir.pwd) - require 'app' + require 'app/setup' valid_args = true if port_arg = ARGV.index("-p") if ARGV[port_arg + 1] =~ /^\d{1,5}$/ Pakyow::Config.server.port = ARGV[port_arg + 1]