~tim/scheme-vm

cbd04911e9dd67e29c19faf6317a680dc3bfeb6d — Tim Morgan 5 years ago 2f2b23e
Improve watchr script
1 files changed, 5 insertions(+), 1 deletions(-)

M .watchr
M .watchr => .watchr +5 -1
@@ 1,4 1,8 @@
watch('.*') do
def run_suite
  cmd = IO.popen('rspec spec 2>&1')
  print cmd.getc until cmd.eof?
end

watch('.*') { run_suite }

Signal.trap('QUIT') { run_suite } # Ctrl-\