Commit c11d94b4 authored by Johannes Kreiner's avatar Johannes Kreiner

[BUGFIX] Remove node-notifier timeout option to fix high macOS CPU usage

parent 78a14858
......@@ -77,6 +77,8 @@ module.exports = class Logger {
/**
* Displays a desktop notification
*
* Note: the timeout option is only used on Linux
*
* @param {String} _title The title for your notification
* @param {String} _message The message for your notification
......@@ -109,8 +111,7 @@ module.exports = class Logger {
message: _message,
icon: path.join(__dirname, 'icons', icon.replace('.svg', '.png')),
sound: true,
wait: _options.wait,
timeout: _options.timeout
wait: _options.wait
}
);
if (_options.link) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment