Gulp exec bin multiprocessing
npm install gulp-exec-taskThis is a Node.js module available through the
npm registry.
Before installing, download and install Node.js.
Installation is done using thenpm install command:
``bash`
$ npm install -D gulp-exec-task
`
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')
));
``