I would like to run a shell command from gulp, using gulp-shell. I see the following idiom being used the gulpfile.
gulp-shell
Is this the idiomatic way to run a c
With gulp 4 your tasks can directly return a child process to signal task completion:
'use strict'; var cp = require('child_process'); var gulp = require('gulp'); gulp.task('reset', function() { return cp.execFile('git checkout -- .'); });
gulp-v4-running-shell-commands.md