From 4da08450e49959f95ff2d54366d1dce51bf0d445 Mon Sep 17 00:00:00 2001 From: Michael Kelly Date: Wed, 18 Mar 2015 20:01:37 -0500 Subject: [PATCH] Using the nodemon api for the serve:dev task --- gulpfile.js | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index 19ec8bc..ef6f541 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -38,13 +38,12 @@ gulp.task('prod', ['core', 'jade:prod', 'uglify']); gulp.task('init', ['build:css']); // server tasks -gulp.task('serve:dev', shell.task([pkg.scripts.run_dev])); -// gulp.task('serve:dev', function () { -// nodemon({ -// script: './api/server.js', -// env: {'NODE_ENV': 'development'} -// }); -// }); +gulp.task('serve:dev', function () { + nodemon({ + script: './api/server.js', + env: {'NODE_ENV': 'development'} + }); +}); gulp.task('serve:prod', function () { nodemon({