Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

gulp-notifiable-task

jasonrey29ISC1.1.1

A wrapper to create gulp task with node-notify.

gulp plugin, gulp task, gulp wrapper, wrapper, node-notify, notify, gulp, notification, reporter, windows notification, mac notification, notify-send, notify-osd, growl

readme

gulp-notifiable-task

Information

This plugin adds a .notifiableTask wrapper method that create Gulp task and mimics .task parameters.

You may pass in --staging, --production or --disableNotification to surpress notification.

Underlyingly, the plugin is using:

Usage

    let gulp = require('gulp');
    let sass = require('gulp-sass');

    require('gulp-notifiable-task');

    gulp.notifiableTask('build', ['build:sass']);

    gulp.notifiableTask('build:sass', function() {
        gulp.src('**/*.sass')
            .pipe(sass())
            .pipe(gulp.dest('css'));
    });

Todos

  • Customizable notification templates
  • Custom callback before notification

Credits

changelog

v1.1.0 - 22-06-2017

  • Rewrite to mimic Gulp actual implementation
  • Remove unnecessary stream handler

v1.0.2 - 21-06-2017

  • Update credits

v1.0.1 - 21-06-2017

  • Fix missing plumber

v1.0.0 - 21-06-2017

  • Initial notifiableTask plugin