gulp-exec-task

Gulp exec bin multiprocessing

Usage no npm install needed!

<script type="module">
  import gulpExecTask from 'https://cdn.skypack.dev/gulp-exec-task';
</script>

README

Gulp task helpers

Gulp exec bin multiprocessing

Installation

This is a Node.js module available through the npm registry.

Before installing, download and install Node.js.

Installation is done using the npm install command:

$ 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')
));