From 6ab896201c0d9e91f56fe22ca86e63e2cf13421a Mon Sep 17 00:00:00 2001 From: Matthew Ross Date: Sat, 23 Apr 2016 10:07:27 -0400 Subject: [PATCH] Revert gulp clean change --- gulpfile.js | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index 6f4b163..0951031 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -55,13 +55,7 @@ let gulp = require('gulp'), }; gulp.task('clean', () => { - fs.stat('dist/api/logs/api.log', function(err, stat) { - if(err === null) { - console.log(' Run `sudo gulp clean` to remove server-generated files.'); - } else { - return del('dist'); - } - }); + return del('dist'); }); gulp.task('html', () => {