How to pass data to the JS file if content added?

I have a repeater. each item has a title and a description. If a new item is added, i want to pass the title to my JS. I can see that wp_localize_scripts is not updating, each time a new item is added. How can i pass/update data to my JS if a new item is added?