0.0.8 • Published 10 years ago

gulp-alert v0.0.8

Weekly downloads
1
License
ISC
Repository
github
Last release
10 years ago

gulp-alert

installation

npm install gulp-alert

usage

import alert from 'gulp-alert'
gulp.src(['some', 'files'])
  .pipe(alert(options))
  .pipe(/* some other plugin */)
  // ...

options

  • options.command (beep): The command to run when an error occurs (I use it to play an error sound, but you could use it to display a notification etc.)
  • options.silent (false): If set to true, gulp-alert does call the options.command when an error occurs.
  • options.name (NO_NAME): The name used when logging the error to the screen. Use this to denote the pipeline you use gulp-alert in.
  • options.onError: if set, this function will be called with the error as first parameter whenever an error occurs.

License

This code is licensed under the ISC license

0.0.8

10 years ago

0.0.7

10 years ago

0.0.6

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago