Method: LiquidProxy#start

Defined in:
lib/liquid-proxy.rb

#start(opts = {:port => 8998}) ⇒ Object



40
41
42
43
44
45
46
47
48
49
50
# File 'lib/liquid-proxy.rb', line 40

def start(opts = {:port => 8998})
  @port = opts[:port]

  Service.start(opts)

  Kernel.sleep 0.5
  while not Service.up?
    puts "Waiting for LiquidProxy to start..."
    Kernel.sleep 0.5
  end
end