Watch face: Run update only when an activity is logged

Hey all,

I am creating a watch face and there is some code that I only want to run when the user completes an activity (as opposed to running it super frequently onUpdate).

How can I do this?

Thanks!