webpack-sane-compiler-notifier
Notify webpack compilation status to your operating system when using webpack-sane-compiler
Last updated a year ago by satazor .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install webpack-sane-compiler-notifier 
SYNC missed versions from official npm registry.

webpack-sane-compiler-notifier

NPM version Downloads Build Status Coverage Status Dependency status Dev Dependency status Greenkeeper badge

Notify webpack compilation status to your operating system when using webpack-sane-compiler.

Installation

$ npm install webpack-sane-compiler-notifier --save-dev

Usage

const startNotifying = require('webpack-sane-compiler-notifier');

const { stop, options } = startNotifying(compiler, {/* options */});

// Call compiler.run() or compiler.watch() to start a compilation and you will see OS notifications showing up
// Calling stop() will stop listening to the compiler events
// Furthermore, you have access to the options that were computed by the merge of provided options and the defaults

Available options

Name Description Type Default
title The title for the notification string package.json name
icon The icon for the notification string webpack-logo.png
sound Play a sound when notifying on OS that support it string false

Tests

$ npm test
$ npm test -- --watch during development

License

MIT License

Current Tags

  • 2.1.1                                ...           latest (a year ago)

5 Versions

  • 2.1.1                                ...           a year ago
  • 2.1.0                                ...           2 years ago
  • 2.0.1                                ...           2 years ago
  • 2.0.0                                ...           2 years ago
  • 1.0.0                                ...           2 years ago

Copyright 2014 - 2016 © taobao.org |