0.1.6 • Published 10 years ago
gulp-blueprint-watch v0.1.6
gulp-blueprint-watch
Installation
$ npm install --save-dev gulp-blueprint-watchDescription
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 optionsOptions
You can pass an options object.
gulp(object, default:require('gulp')): Provide a custom gulp instancetask(string, default:'sass'): The gulp task namedependencies(array, default:['default']): The gulp task dependencieswatch(string|array, default:[]): Files to watch, passed togulp.watch()batch(object, default:{}): Options passed to gulp-batchlog(boolean, default:true): Whether to log changed filesstart(string|array, default:'default'): Task(s) to start on changes, passed togulp.start()proxy(string, default:'localhost:8000): Proxy option for Browsersync.
Test
$ npm install -g mocha
$ mocha