Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

simplify watch script by removing interrupt catcher

  • Loading branch information...
commit b7c7e62a441ddb90901986091e77ccced17b1654 1 parent 7ab3996
@mhansen authored
Showing with 0 additions and 16 deletions.
  1. +0 −16 autotest.watchr
View
16 autotest.watchr
@@ -17,19 +17,3 @@ end
run_all_tests
watch("(tests|lib)(/.*)+.js") { |m| run_all_tests }
-
-@interrupted = false
-
-# Ctrl-C
-Signal.trap "INT" do
- if @interrupted
- abort("\n")
- else
- puts "Interrupt a second time to quit"
- @interrupted = true
- Kernel.sleep 1.5
-
- run_all_tests
- @interrupted = false
- end
-end
Please sign in to comment.
Something went wrong with that request. Please try again.