https://github.com/aitthi/gulp-exec-task
Gulp exec bin multiprocessing
https://github.com/aitthi/gulp-exec-task
Last synced: 3 months ago
JSON representation
Gulp exec bin multiprocessing
- Host: GitHub
- URL: https://github.com/aitthi/gulp-exec-task
- Owner: Aitthi
- Created: 2019-10-19T17:05:29.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-06-11T21:01:12.000Z (12 months ago)
- Last Synced: 2025-02-15T07:41:08.837Z (4 months ago)
- Language: JavaScript
- Homepage:
- Size: 279 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Security: SECURITY.md
Awesome Lists containing this project
README
# Gulp exec task
Gulp exec bin multiprocessing## Installation
This is a [Node.js](https://nodejs.org/en/) module available through the
[npm registry](https://www.npmjs.com/).Before installing, [download and install Node.js](https://nodejs.org/en/download/).
Installation is done using the
[`npm install` command](https://docs.npmjs.com/getting-started/installing-npm-packages-locally):```bash
$ npm install -D gulp-exec-task
```## Examples
```
import { parallel, series, task } from 'gulp';
import { execTask } from 'gulp-exec-task';task('serve:site', done => {
execTask(
'node_modules/@nestjs/cli/bin/nest.js',
[ 'start', '--watch' ]
)(done),
execTask(
'/bin/bash',
['-c', 'cd portal && ng build --watch']
)(done);
});task('start:dev', series(
parallel('serve:site')
));```