alexgb / guard-konacha

Automatically run konacha tests through Guard
MIT License
31 stars 17 forks source link

not working as expected #5

Closed costa closed 11 years ago

costa commented 11 years ago

That is, doesn't run as expected, not even once:

01:32:19 - INFO - Starting Konacha
[1] guard(main)> Your tests are here:
  http://localhost:3500/
[2012-11-19 01:32:34] INFO  WEBrick 1.3.1
[2012-11-19 01:32:34] INFO  ruby 1.9.3 (2012-10-12) [x86_64-darwin11.4.2]
[2012-11-19 01:32:34] INFO  WEBrick::HTTPServer#start: pid=58831 port=3500
[2012-11-19 01:34:21] WARN  Could not determine content-length of response body. Set content-length of the response or set Response#chunked = true
[2012-11-19 01:34:21] WARN  Could not determine content-length of response body. Set content-length of the response or set Response#chunked = true

etc This is the first time, and I did visit the URL. And then, on file changes, nada.

alexgb commented 11 years ago

You're right, recent changes to Guard broke the way child processes were being spawned. Should be fixed now.

costa commented 11 years ago

also, you're a dollar short on your regex

alexgb commented 11 years ago

Care to enlighten me?

costa commented 11 years ago

watch(%r{^spec/javascripts/.+_spec(\.js|\.js\.coffee)$})

I've upgraded, but it still doesn't do anything particularly useful. It doesn't run the tests.

alexgb commented 11 years ago

bundle exec rake konacha:run works for you? What Konacha driver are you using?

costa commented 11 years ago

It was probably some quirk of other components, seems working now. Thanks.