add .jsx ext to nodemon

nodemon will restart when jsx files in common change
This commit is contained in:
Berkeley Martinez
2015-09-08 16:53:57 -07:00
parent 8112702e81
commit 5f3b57dc11

View File

@ -116,7 +116,7 @@ gulp.task('serve', function(cb) {
var called = false; var called = false;
nodemon({ nodemon({
script: paths.server, script: paths.server,
ext: '.js .json', ext: '.jsx .js .json',
ignore: paths.serverIgnore, ignore: paths.serverIgnore,
exec: path.join(__dirname, 'node_modules/.bin/babel-node'), exec: path.join(__dirname, 'node_modules/.bin/babel-node'),
env: { env: {