gulp-reload

0.0.4 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i gulp-reload

Weekly Downloads

1

Version

0.0.4

License

none

Last publish

Collaborators

  • floatdrop