You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Vestride_Shuffle/gulp/tasks/jekyll.js

10 lines
324 B
JavaScript

const path = require('path');
const gulp = require('gulp');
const shell = require('gulp-shell');
module.exports = function jekyll() {
const cmd = 'jekyll serve --config _config.yml,_config_dev.yml';
return gulp.src('docs/_config.yml', { read: false }).pipe(shell([cmd], { cwd: path.join(process.cwd(), 'docs') }));
};