parcel-plugin-notifier

1.0.0 • Public • Published

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.

Package Sidebar

Install

npm i parcel-plugin-notifier

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

32.4 kB

Total Files

12

Last publish

Collaborators

  • rcugut