mikaelbr / node-notifier-cli

CLI API for node-notifier as separate package.
143 stars 13 forks source link

Displaying CLI errors with Notifier CLI #5

Open asuh opened 7 years ago

asuh commented 7 years ago

It's not clear to me how to properly format an error message with this tool. The README.md gives examples of static messages but not for dynamic.

For example, I'm running Node Sass using a NPM watch script. When a syntax error shows up in my terminal, there's no clear way to display it in the notifier. I'm not sure how to build a use error handling to pipe the error into the Notifier notification.

mischah commented 6 years ago

@asuh

I had the same use case and created a little CLI tool which might interested you: https://github.com/micromata/cli-error-notifier