Skip to content

Commit a93d631

Browse files
committed
rm remove from gulp
1 parent 951792f commit a93d631

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

gulpfile.babel.js

+2-6
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,6 @@ gulp.task('clean', function (cb) {
5656
return rimraf(config.outDir, cb)
5757
})
5858

59-
gulp.task('remove', shell.task([
60-
'rm -r build'
61-
]))
62-
6359
gulp.task('server', function () {
6460
return browserSync.init({
6561
server: {baseDir: config.outDir},
@@ -70,7 +66,7 @@ gulp.task('server', function () {
7066
})
7167
})
7268

73-
gulp.task('deploy', ['clean', 'remove', 'server', 'js', 'fonts', 'sass', 'data', 'html'], function(){
69+
gulp.task('deploy', ['clean', 'server', 'js', 'fonts', 'sass', 'data', 'html'], function(){
7470
return gulp.src(config.outDir + '**/*')
7571
.pipe(ghPages());
7672
})
@@ -110,7 +106,7 @@ gulp.task('html', function () {
110106
.pipe(browserSync.stream())
111107
})
112108

113-
gulp.task('watch', ['clean', 'remove', 'server', 'js', 'fonts', 'sass', 'data', 'html'], function () {
109+
gulp.task('watch', ['clean', 'server', 'js', 'fonts', 'sass', 'data', 'html'], function () {
114110
// FIXME: initial build is done two times
115111
getBundler().on('update', () => gulp.start('js'))
116112
gulp.watch(config.inFiles.data, ['data'])

0 commit comments

Comments
 (0)