0.0.0 • Published 1 year ago

gulp-process v0.0.0

Weekly downloads
80
License
ISC
Repository
-
Last release
1 year ago

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)

0.0.0

1 year ago

0.1.2

8 years ago

0.1.1

9 years ago

0.1.0

9 years ago