1.0.0 • Published 8 months ago

gulp-process v1.0.0

Weekly downloads
80
License
ISC
Repository
-
Last release
8 months 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)

1.0.0

8 months ago

0.0.0

2 years ago

0.1.2

9 years ago

0.1.1

10 years ago

0.1.0

10 years ago