From 7afbd2507f8a757a82ec768458e387233868df57 Mon Sep 17 00:00:00 2001 From: Evan Willhite Date: Tue, 29 Jan 2019 11:15:11 -0600 Subject: [PATCH] removed unnecessary serve task --- index.js | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/index.js b/index.js index 6dd44a2..eee9ed2 100644 --- a/index.js +++ b/index.js @@ -96,7 +96,7 @@ module.exports = (gulp, config) => { /** * Task for running browserSync. */ - gulp.task('serve', ['css', 'scripts', 'watch:pl'], () => { + gulp.task('theme', ['css', 'scripts', 'watch:pl'], () => { if (config.browserSync.domain) { browserSync.init({ injectChanges: true, @@ -127,20 +127,12 @@ module.exports = (gulp, config) => { gulp.watch(config.patternLab.scssToYAML[0].src, ['pl:scss-to-yaml']); }); - /** - * Theme task declaration - */ - gulp.task('theme', ['serve']); - gulp.task('compile', tasks.compile); gulp.task('validate', tasks.validate); gulp.task('watch', tasks.watch); tasks.default.push('watch'); gulp.task('default', tasks.default); - /** - * Theme task declaration - */ gulp.task('build', ['compile', 'scripts', 'css']); /**