Native Package Manager

    webpack-growl-notifier

    1.6.0 • Public • Published

    webpack-growl-notifier

    Build Status npm Version

    This is a webpack plugin that uses the growly package to display build status system notifications to the user.

    This is a fork of the webpack-notifier plugin. I love Growl ❤️

    The plugin will notify you about the first run (success/fail), all failed runs and the first successful run after recovering from a build failure. In other words: it will stay silent if everything is fine with your build.

    Installation

    Use npm to install this package:

    npm install --save-dev webpack-growl-notifier
    

    Usage

    In the webpack.config.js file:

    var WebpackGrowlNotifierPlugin = require('webpack-growl-notifier');
     
    var config = module.exports = {
      // ...
     
      plugins: [
        new WebpackGrowlNotifierPlugin(),
      ]
    },

    Configuration

    Title

    Title shown in the notification.

    new WebpackGrowlNotifierPlugin({title: 'Webpack'});

    Content Image

    Image shown in the notification.

    var path = require('path');
     
    new WebpackGrowlNotifierPlugin({contentImage: path.join(__dirname, 'logo.png')});

    Exclude Warnings

    If set to true, warnings will not cause a notification.

    new WebpackGrowlNotifierPlugin({excludeWarnings: true});

    Always Notify

    Trigger a notification every time. Call it "noisy-mode".

    new WebpackGrowlNotifierPlugin({alwaysNotify: true});

    Skip Notification on the First Build

    Do not notify on the first build. This allows you to receive notifications on subsequent incremental builds without being notified on the initial build.

    new WebpackGrowlNotifierPlugin({skipFirstNotification: true});

    Install

    npm i webpack-growl-notifier

    DownloadsWeekly Downloads

    0

    Version

    1.6.0

    License

    ISC

    Last publish

    Collaborators

    • pine613