Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/localvoid/gulp-process
Gulp plugin for running and automatically restarting processes.
https://github.com/localvoid/gulp-process
Last synced: 2 days ago
JSON representation
Gulp plugin for running and automatically restarting processes.
- Host: GitHub
- URL: https://github.com/localvoid/gulp-process
- Owner: localvoid
- License: mit
- Created: 2015-08-23T10:00:42.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-12-29T07:56:33.000Z (almost 9 years ago)
- Last Synced: 2024-08-02T05:10:38.156Z (3 months ago)
- Language: JavaScript
- Size: 2.93 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gulp-process
[Gulp](http://gulpjs.com) plugin for running and automatically
restarting processes.## Install
```sh
$ npm install --save-dev gulp-process
```## Usage
```js
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)