From 5f3b57dc11d2df3e340a97b59fbdc7d5c1bf6023 Mon Sep 17 00:00:00 2001 From: Berkeley Martinez Date: Tue, 8 Sep 2015 16:53:57 -0700 Subject: [PATCH] add .jsx ext to nodemon nodemon will restart when jsx files in common change --- gulpfile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gulpfile.js b/gulpfile.js index 0c8923dcd8..7c52a5a7ad 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -116,7 +116,7 @@ gulp.task('serve', function(cb) { var called = false; nodemon({ script: paths.server, - ext: '.js .json', + ext: '.jsx .js .json', ignore: paths.serverIgnore, exec: path.join(__dirname, 'node_modules/.bin/babel-node'), env: {