vegas 0.0.4 → 0.0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/vegas.rb +1 -1
- data/lib/vegas/runner.rb +2 -1
- metadata +1 -1
data/lib/vegas.rb
CHANGED
data/lib/vegas/runner.rb
CHANGED
|
@@ -46,7 +46,7 @@ module Vegas
|
|
|
46
46
|
write_url
|
|
47
47
|
|
|
48
48
|
begin
|
|
49
|
-
launch!
|
|
49
|
+
launch!
|
|
50
50
|
daemonize! unless options[:foreground]
|
|
51
51
|
run!
|
|
52
52
|
rescue RuntimeError => e
|
|
@@ -151,6 +151,7 @@ module Vegas
|
|
|
151
151
|
end
|
|
152
152
|
|
|
153
153
|
def launch!(specific_url = nil)
|
|
154
|
+
return if options[:skip_launch]
|
|
154
155
|
cmd = WINDOWS ? "start" : "sleep 2 && open"
|
|
155
156
|
system "#{cmd} #{specific_url || url}"
|
|
156
157
|
end
|