bin/wassup in wassup-0.4.0 vs bin/wassup in wassup-0.4.1
- old
+ new
@@ -2,15 +2,16 @@
require 'wassup'
debug = ARGV.delete("--debug")
path = ARGV[0] || 'Supfile'
+port = ARGV[1] || 0
unless File.exists?(path)
raise "Missing file: #{path}"
end
if debug
Wassup::App.debug(path: path)
else
- Wassup::App.start(path: path)
+ Wassup::App.start(path: path, port: port.to_i)
end