Skip to content

Gulp plugin for running and automatically restarting processes.

License

Notifications You must be signed in to change notification settings

localvoid/gulp-process

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gulp-process

Gulp plugin for running and automatically restarting processes.

Install

$ npm install --save-dev gulp-process

Usage

var gulp = require('gulp');
var gulpProcess = require('gulp-process');

gulp.task('tpl', function() {
	return gulp.src('tpl/*.tpl')
		.pipe(gulp.dest('build'))
        .pipe(gulpProcess.restartStream('goserver'));
});

gulp.task('serve', function() {
  gulpProcess.start('goserver', './build/goserver');

  gulp.watch('tpl/*.tpl', ['tpl']);
});

API

start(name, command, args, opts)

restart(name)

restartStream(name)

About

Gulp plugin for running and automatically restarting processes.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published