lib/cap_ext_webistrano/task.rb in mattmatt-cap-ext-webistrano-0.1.0 vs lib/cap_ext_webistrano/task.rb in mattmatt-cap-ext-webistrano-0.1.1

- old
+ new

@@ -20,10 +20,10 @@ def loop_latest_deployment still_running = true while still_running sleep 5 - @deployment = Deployment.find(@deployment.id, :params => {:project_id => @project.id, :stage_id => @stage.id}) + @deployment.reload print_diff(@deployment) still_running = false unless @deployment.completed_at.nil? end end \ No newline at end of file