1.2.0 • Published 8 years ago

anybar-webpack v1.2.0

Weekly downloads
3,085
License
MIT
Repository
github
Last release
8 years ago

npm version Build Status NPM Downloads

AnyBarWebpackPlugin

Webpack build status plugin for status bar indicator applications.

anybar webpack plugin animated gif demo

Now with cross-platform native notifications, thanks to node-notifier.

anybar webpack plugin notification demo

Note: Notifies only about build errors.

Known apps

Known issues

No notifications when running from tmux

Please, follow this instructions. After that, update tmux config: tmux source-file ~/.tmux.conf.

Installation

Make sure you have an application installed and running

npm i -D anybar-webpack

Usage

Use it in your webpack.config.js:

var AnyBarWebpackPlugin = require('anybar-webpack');

module.exports = {
    // ...
    plugins: [
        new AnyBarWebpackPlugin({
            enableNotifications: true
        })
    ]
    // ...
};

API

new AnyBarWebpackPlugin([port][, host][, options])

All arguments are optional. If you want to pass the host argument, you need to pass a port first.

port

  • Type: Number
  • Default: 1738

The port the status bar application is running on.

host

  • Type: String
  • Default: '127.0.0.1'

The host the status bar application is running on.

enableNotifications

  • Type: Boolean
  • Default: false

Enable build errors desktop notifications.

1.2.0

8 years ago

1.1.0

8 years ago

1.0.8

9 years ago

1.0.7

9 years ago

1.0.6

9 years ago

1.0.5

9 years ago

1.0.4-non-macos

9 years ago

1.0.4

9 years ago

1.0.3

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago