Skip to content

Latest commit

 

History

History
33 lines (18 loc) · 698 Bytes

README.md

File metadata and controls

33 lines (18 loc) · 698 Bytes

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.