guard/guard-rspec — Issue #92: Specs are run even if a Pry session is still active
Author: hardipe
Created: 2012-01-13 15:15:17+00:00
State: open

I think this issue only appeared recently.
When I insert a binding.pry command into my specs and guard-rspec initiates the specs and once they hit the binding.pry command, a Pry REPL session is opened (this is completely normal).

However, when I modify any other spec file while the Pry session is active, the specs are run again - ignoring the fact that Pry is waiting for input. This creates a weird problem so that the console window that has guard running in it, no longer displays the input I enter. Even if I Ctrl+C out of guard and get my bash prompt line, entering something on my keyboard no longer shows the characters. I can still type exit and hit Enter and it will work, but nothing is displayed.

Here's my bundle:
https://gist.github.com/1606886