···8383let update_if_changed () =
8484 (* If the last op_id has changed then there has been a change somewhere and we should re-render. otherwise don't bother*)
8585 [%log info "Checking if there has been a change to the repo"];
8686+ (* Wrap this just incase something fails so it shows an error *)
8787+ safe_jj @@ fun () ->
8688 let this_op =
8789 jj_no_log
8890 ~color:false