stream-notifier

0.0.1 • Public • Published

stream-notifier

stream-notifier makes it easy to setup native Mac, Windows and Linux notifications (using notifier) for error- and success-reporting in streams.

Using stream-notifier with gulp:

var streamNotifier = require('stream-notifier');
 
gulp.task('styles', function() {
  var notify = streamNotifier('styles');
 
  return gulp
    .src('src/main.styl')
    .pipe(stylus({ use: [jeet(), rupture(), normalize()] }))
    .on('error', notify.error)
    .pipe(rename('app.css'))
    .pipe(gulp.dest('dist'))
    .on('end', notify.end);
});

Readme

Keywords

none

Package Sidebar

Install

npm i stream-notifier

Weekly Downloads

0

Version

0.0.1

License

MIT

Last publish

Collaborators

  • maximilianschmitt