Skip to content

Commit 8979316

Browse files
committed
⬆️ gulp
DEV-1283
1 parent bfccffc commit 8979316

3 files changed

Lines changed: 3701 additions & 1927 deletions

File tree

gulpfile.js

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,7 @@ var escapeContent = function(content) {
2424
};
2525

2626
var run = function (watched, babelOpts) {
27-
28-
29-
(watched ?
27+
return (watched ?
3028
watch(paths.src.src, {silent: false}) :
3129
gulp.src(paths.src.src))
3230
.pipe(plumber())
@@ -39,18 +37,18 @@ var run = function (watched, babelOpts) {
3937

4038
gulp.task('watch', function () {
4139
run(false);
42-
run(true);
40+
return run(true);
4341
});
4442

4543
gulp.task('default', function () {
46-
run(false);
44+
return run(false);
4745
});
4846

4947
gulp.task('frontend', function () {
50-
run(false, {presets: ['es2015']});
48+
return run(false, {presets: ['es2015']});
5149
});
5250

5351
gulp.task('frontend-watch', function () {
5452
run(false, {presets: ['es2015']});
55-
run(true, {presets: ['es2015']});
53+
return run(true, {presets: ['es2015']});
5654
});

0 commit comments

Comments
 (0)