From 0fdd2faaa298e31e4d182f35dd443e60a3001142 Mon Sep 17 00:00:00 2001 From: Blade Barringer Date: Thu, 5 Feb 2015 11:43:07 -0600 Subject: [PATCH] cleaned up processes a bit --- gulpfile.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index e7a5111f2c..7328c5e17d 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -239,7 +239,7 @@ gulp.task('build:js', function() { }); }); -gulp.task('build', ['loadManifest', 'build:css', 'build:js'], function() { +gulp.task('build', ['loadManifest', 'clean', 'stylus', 'browserify', 'build:css', 'build:js'], function() { }); @@ -252,9 +252,10 @@ gulp.task('dev', ['watch'], function() { nodemon({ script: pkg.main }); }); -gulp.task('prod', ['clean', 'stylus', 'browserify', 'copy'], function() { - // @TODO: Finish this +gulp.task('prod', ['build'], function() { + nodemon({ script: pkg.main }); }); + if(config.NODE_ENV == 'development') { gulp.task('default', ['dev']); } else if(config.NODE_ENV == 'production') {