Module: LaunchTracks
- Defined in:
- lib/launch_tracks.rb
Class Method Summary collapse
Class Method Details
.run(app, options = {}) ⇒ Object
10 11 12 13 14 |
# File 'lib/launch_tracks.rb', line 10 def self.run(app, ={}) app = Rack::Idle.new(app, :watch => "restart.txt") sockets = Launch::Job.checkin.sockets["http"] Tracks.new(app, ).listen(sockets.first) end |