[Solved] Tracker.autorun on Server

How to use Tracker.autorun on Server side for tracking collection change?
Or is there any other similar way?

Tracker.autorun is client side only. If you want to track changes in a collection, use cursor.observe or cursor.observeChanges (you get a cursor from Collection.find).

2 Likes

thanks you so much peppe, its solved :smiley:

@Peppe_LG thank you for this. You are a beautiful and amazing human being. Just saved me a couple days worth of work. If you ever want a pizza delivered to you, do not hesitate.

1 Like