autotest.watchr 202 B

12345678
  1. def run_all_tests
  2. puts `clear`
  3. puts `node tests/test-constants.js`
  4. puts `node tests/test-headers.js`
  5. puts `node tests/test-request.js`
  6. end
  7. watch('.*.js') { run_all_tests }
  8. run_all_tests