Skip to content

pdud/ember-cli-build-notifications

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

ember-cli-build-notifications

npm version Build Status Ember Observer Score

This addon adds support for Linux, Mac OS X and Windows alerts when ember-cli has a buildError and postBuild (when the build is successful).

image image

Compatibility

  • Ember.js v3.28 or above
  • Ember CLI v3.28 or above
  • Node.js v14 or above

Installation

ember install ember-cli-build-notifications

Usage

Config Options Ember CLI Build Event Default
buildError buildError true
buildSuccess postBuild false

To override defaults, add the following to the config file {app-name}/config/build-notifications.js:

module.exports = {
  buildError: {
    notify: true,
    notificationOptions: {
      sound: true
    }
  },
  buildSuccess: {
    notify: true,
    notificationOptions: {
      sound: true
    }
  }
};

The notificationOptions settings are passed directly into node-notifier, see their docs for a full list of available settings

Requirements

  • Mac OS X: >= 10.8 or Growl if earlier.
  • Linux: notify-osd installed (Ubuntu should have this by default)
  • Windows: >= 8, task bar balloon if earlier or Growl if that is installed.
  • General Fallback: Growl

Powered by mikaelbr/node-notifier and it's dependencies.

Contributing

See the Contributing guide for details.

Acknowledgment

License

This project is licensed under the MIT License.

About

Notifications when ember-cli has a buildError

Resources

License

Stars

Watchers

Forks

Packages

No packages published