Reputation: 4333
I have Rails 3.1.1 app with this guardfile:
guard 'bundler' do
watch('Gemfile')
end
guard 'rails' do
watch('Gemfile.lock')
watch(%r{^(config|lib)/.*})
end
When my app is running under guard, a call to binding.pry
does not pause execution. How do I make that happen?
Upvotes: 2
Views: 1274
Reputation: 9358
This is from their GitHub page:
pause: pause|p + return - Toggle files modification listening. Useful when switching git branches.
Not sure if that's what you are needing.
Upvotes: -1
Reputation: 29915
I haven't used Guard before but perhaps what you want are Remote sessions
Upvotes: 3