More workflow

This commit is contained in:
Ben Ramey
2014-03-14 21:50:36 -05:00
parent fc0ed457a6
commit ce4b9d4d50
7 changed files with 37 additions and 9 deletions

View File

@@ -8,4 +8,9 @@ lunchControllers.controller 'RunCtrl', ['$scope', 'socket', '$routeParams', ($sc
$scope.show = true
$scope.run = response
$scope.$apply()
socket.on 'message', (m) ->
if m.verb is 'update' and m.id is $routeParams.id
$scope.run = m.data
$scope.$apply()
]