Skip to content

floatdrop/gulp-reload

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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');
var watch = require('gulp-watch');

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

API

reload()

License

MIT License

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published