From 4d26e1d69537c22f49ee85afa245aaab4acddf34 Mon Sep 17 00:00:00 2001 From: Jack Date: Fri, 20 Oct 2017 17:43:19 -0400 Subject: [PATCH] Add scripts for nodemon --- gulpfile.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/gulpfile.js b/gulpfile.js index 19b7cb9..81fbfc7 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -9,7 +9,14 @@ var cleanCSS = require('gulp-clean-css'); var nodemon = require('gulp-nodemon'); var path = require('path'); -gulp.task('start', function () { +gulp.task('start', function() { + nodemon({ + script: 'server.js', + ignore: '*.*' + }); +}) + +gulp.task('watch', function () { nodemon({ script: 'server.js', ext: 'js html css',