gulp-reload

A plugin for Gulp

npm install gulp-reload
18 downloads in the last week
36 downloads in the last month

gulp-reload

NPM version Dependency Status

reload plugin for gulp

Experimental plugin, that will restart the current task (I hope so).

Usage

var reload = require('gulp-reload');
var _if = require('gulp-if');

gulp.src(['gulpfile.js', './src/*.ext'])
    .pipe(watch({ passThrough: false }))
    .pipe(_if(/gulpfile.js/, reload()))
    .pipe(gulp.dest('./dist'));

API

reload()

License

MIT License

npm loves you