aboutsummaryrefslogtreecommitdiffstats
path: root/gulpfile.js
diff options
context:
space:
mode:
authorSam Potts <sam@potts.es>2018-05-31 23:39:51 +1000
committerGitHub <noreply@github.com>2018-05-31 23:39:51 +1000
commitfb22a90d33ad991e1f6de22f201c3b49f54168c1 (patch)
tree8cc30e7af53cd44f8cb5f035e16f9d6d9804cc39 /gulpfile.js
parentd70a787af19ece0b9eeeba60d947225c73ded291 (diff)
parent108bd3dfa078cf22c0446373830e86cba586919c (diff)
downloadplyr-fb22a90d33ad991e1f6de22f201c3b49f54168c1.tar.lz
plyr-fb22a90d33ad991e1f6de22f201c3b49f54168c1.tar.xz
plyr-fb22a90d33ad991e1f6de22f201c3b49f54168c1.zip
Merge pull request #993 from sampotts/develop
v3.3.10
Diffstat (limited to 'gulpfile.js')
-rw-r--r--gulpfile.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/gulpfile.js b/gulpfile.js
index 9a6da95f..28909e27 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -226,9 +226,14 @@ gulp.task('watch', () => {
gulp.watch(paths.demo.src.sass, tasks.sass);
});
+// Build distribution
+gulp.task('build', () => {
+ run(tasks.clean, tasks.js, tasks.sass, tasks.sprite);
+});
+
// Default gulp task
gulp.task('default', () => {
- run(tasks.clean, tasks.js, tasks.sass, tasks.sprite, 'watch');
+ run('build', 'watch');
});
// Publish a version to CDN and demo