Workaround for objects that don't refresh in the viewport?

Does anyone know of a reliable way to update the viewport while drawing or sculpting?
The current build of 2.80 has sculpt brush working, but it does not update the uvs until you switch in and out of edit mode.
Is there a way to trigger this in real time while sculpting?
Or maybe another way to update the object in real time?
Thanks in advance
MH

Maybe you should experiment with this line in your script:

<i>context</i>.scene.frame_set(<i>context</i>.scene.frame_current)