mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-01-07 18:03:49 -05:00
add .jsx ext to nodemon
nodemon will restart when jsx files in common change
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user