From 15c2ec42ec271ad4a2f354645da5bad320d8cd17 Mon Sep 17 00:00:00 2001 From: Berkeley Martinez Date: Sat, 4 Jul 2015 16:02:31 -0700 Subject: [PATCH] fix nodemon ignores client directory fix nodemon acknowledges json --- gulpfile.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index 43916c77e3..24b957a448 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -39,7 +39,8 @@ var paths = { serverIgnore: [ 'gulpfile.js', 'public/', - 'node_modules/' + 'node_modules/', + 'client/' ], publicJs: './public/js', @@ -125,7 +126,7 @@ gulp.task('serve', function(cb) { var called = false; nodemon({ script: paths.server, - ext: '.js', + ext: '.js .json', ignore: paths.serverIgnore, exec: './node_modules/.bin/babel-node', env: {