Ensure runtime event notification gets cleared on restart

This commit is contained in:
Nick O'Leary
2016-12-05 14:39:34 +00:00
parent 8d21e441a0
commit c720d78c39
2 changed files with 3 additions and 1 deletions

View File

@@ -289,6 +289,8 @@ function start(type,diff,muteLog) {
}
}
events.emit("nodes-started");
events.emit("runtime-event",{id:"runtime-state"});
if (!muteLog) {
if (diff) {
log.info(log._("nodes.flows.started-modified-"+type));