node-notifier
node-notifier copied to clipboard
Notification fires 3/4 times (mac)
my code is simple
notifier.notify({
title: "Attention!",
message:
notifications[random.int((min = 0), (max = notifications.length))],
});
this runs in a loop which is triggered randomly every few minutes, however, the notification appears only3/4 times, specifically, it skips after every three turns, what gives?
I think this might be an anti-spam filter or some logic with the Notification Center in macOS. Try using terminal-notifier directly and see if this reproduces the issue.