1.0.0 • Published 5 years ago

parcel-plugin-notifier v1.0.0

Weekly downloads
36
License
MIT
Repository
github
Last release
5 years ago

parcel-plugin-notifier

Parcel plugin that shows native OS notifications after builds.

Example: macOS notification after a failed build

example macOS notification

Install

yarn add parcel-plugin-notifier --dev

Usage

By default, a notification is triggered after every build, successful or not.

If you want to show notifications only on builds that failed, then set the PARCEL_NOTIFIER_LEVEL ENV variable with value error, before running parcel

export PARCEL_NOTIFIER_LEVEL=error

# then run parcel ...
parcel watch <your_files_here>

Contribute

PRs accepted.