0.1.6 • Published 9 years ago

gulp-blueprint-watch v0.1.6

Weekly downloads
1
License
MIT
Repository
github
Last release
9 years ago

gulp-blueprint-watch

npm Travis Code Climate Code Climate npm npm

David David

Installation

$ npm install --save-dev gulp-blueprint-watch

Description

This package can be used to setup a Gulp task to watch a set of files to rerun tasks on changes.

Using:

Usage

gulpfile.js

var watch = require('gulp-blueprint-watch');

watch(); // gulp task registered with default options

Options

You can pass an options object.

  • gulp (object, default: require('gulp')): Provide a custom gulp instance
  • task (string, default: 'sass'): The gulp task name
  • dependencies (array, default: ['default']): The gulp task dependencies
  • watch (string|array, default: []): Files to watch, passed to gulp.watch()
  • batch (object, default: {}): Options passed to gulp-batch
  • log (boolean, default: true): Whether to log changed files
  • start (string|array, default: 'default'): Task(s) to start on changes, passed to gulp.start()
  • proxy (string, default: 'localhost:8000): Proxy option for Browsersync.

Test

$ npm install -g mocha  
$ mocha

Author

marc1404

License

MIT