This topic has been discussed a lot in various ways in differnt threads over the years.
I would start looking at this thread Using :sync with live_loops, especially the post by @samaaron in the thread.
Also this thread may give some pointers.
This topic has been discussed a lot in various ways in differnt threads over the years.
I would start looking at this thread Using :sync with live_loops, especially the post by @samaaron in the thread.
Also this thread may give some pointers.