mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-14 13:17:24 +01:00
cleaned up processes a bit
This commit is contained in:
@@ -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 });
|
nodemon({ script: pkg.main });
|
||||||
});
|
});
|
||||||
|
|
||||||
gulp.task('prod', ['clean', 'stylus', 'browserify', 'copy'], function() {
|
gulp.task('prod', ['build'], function() {
|
||||||
// @TODO: Finish this
|
nodemon({ script: pkg.main });
|
||||||
});
|
});
|
||||||
|
|
||||||
if(config.NODE_ENV == 'development') {
|
if(config.NODE_ENV == 'development') {
|
||||||
gulp.task('default', ['dev']);
|
gulp.task('default', ['dev']);
|
||||||
} else if(config.NODE_ENV == 'production') {
|
} else if(config.NODE_ENV == 'production') {
|
||||||
|
|||||||
Reference in New Issue
Block a user