The wire new posts notification on dashboard

Hi, I'm trying to extend the wire to post a notification on the river dashboard saying "$number_of_new_posts just added {view wire}" without page refresh. All the approaches and methods i tried have failed. The latest approach I'm thinking of is writing a plugin to listen to the wire create event and notify system but i have some bugs to sort out. I'll be grateful if anyone has an idea on how best to go about it.