fix nodemon ignores client directory

fix nodemon acknowledges json
pull/1319/head^2
Berkeley Martinez 2015-07-04 16:02:31 -07:00
parent 369bcc070c
commit 15c2ec42ec
1 changed files with 3 additions and 2 deletions

View File

@ -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: {