Send BuildFinished notifications on cached build results.

Fixes #342
This commit is contained in:
Shea Levy 2016-08-17 06:40:12 -04:00
parent 71440e7bd7
commit 5962367ffc

View file

@ -192,6 +192,8 @@ bool State::getQueuedBuilds(Connection & conn, ref<Store> localStore,
nrBuildsDone++; nrBuildsDone++;
} }
enqueueNotificationItem({NotificationItem::Type::BuildFinished, build->id});
return; return;
} }
@ -224,6 +226,8 @@ bool State::getQueuedBuilds(Connection & conn, ref<Store> localStore,
build->finishedInDB = true; build->finishedInDB = true;
enqueueNotificationItem({NotificationItem::Type::BuildFinished, build->id});
return; return;
} }