This can be solved by following the steps described in this comment When using node-notifier within a tmux session, it can cause a hang in the system. See issue for more info Use inside tmux session If you don't see notifications within WSL2, you might have to change premission of exe vendor files (snoreToast). See note on 'Windows 10 Fall Creators Update' in Windows section. Node-notifier is made possible through Open Source Software.Ī very special thanks to all the modules node-notifier uses.
See flags and options on the man page notify-send(1) Thanks to OSS Const notifier = require ( 'node-notifier' ) const path = require ( 'path' ) notifier.