Skip to content

Commit 2b3fff3

Browse files
committed
Fix file already exists error
Issue #1
1 parent ba160af commit 2b3fff3

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

gulpfile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ gulp.task('NO_COMPRESS', function() {
121121
COMPRESS = false;
122122
});
123123

124-
gulp.task('default', ['clean', 'fonts', 'images', 'highlightjs', 'js', 'sass', 'html']);
124+
gulp.task('build-static-site', ['fonts', 'images', 'highlightjs', 'js', 'sass', 'html']);
125125
gulp.task('serve', ['NO_COMPRESS', 'default'], function() {
126126
gulp.watch(['./source/*.html', './source/includes/**/*'], ['html']);
127127
gulp.watch('./source/javascripts/**/*', ['js']);

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
"scripts": {
77
"test": "jshint gulpfile.js",
88
"start": "gulp serve",
9-
"build": "gulp",
9+
"prebuild": "gulp clean",
10+
"build": "gulp build-static-site",
1011
"deploy": "./deploy.sh"
1112
},
1213
"repository": {

0 commit comments

Comments
 (0)