node-notifier
node-notifier copied to clipboard
OSX timeout + wait = no action tigger after
trafficstars
hello,
i try to set the timeout with wait option but after x time if i click to open the notify just close. if i click on the button few time after that the notification open is work. my code :
var nc = new notifier.NotificationCenter();
nc.notify({
icon: icone,
appIcon: icone,
'title': title,
'message': message,
'wait' : true,
'timeout' : 3600,
"closeLabel" : "close",
"actions" : "open",
}, function(error, response, metadata) {
if (metadata.activationType == "actionClicked")
{
console.log("click");
}
}
});
another problem i i set an timeout at 60, after 60sec the notification not disappears if i run multi notification
This might be related to memory leak workaround from before. Have you tried the master branch?
New version on NPM now, hopefully this fixes it.