Class: MachineGun
- Inherits:
-
Object
- Object
- MachineGun
- Defined in:
- lib/machinegun.rb
Class Method Summary collapse
Class Method Details
.run ⇒ Object
6 7 8 9 10 11 12 13 14 15 |
# File 'lib/machinegun.rb', line 6 def self.run pid = start_server FileWatcher.new("./**/*.rb").watch do Process.kill "INT", pid Process.wait pid pid = start_server end end |