nodemon - restart on changes to json files
Just use "-e" command line switch
You can specify nodeman configs within package.json file also
"nodemonConfig": {
"ext": "js, ts, graphql, json"
}
Marciej's approach worked for me:
nodemon -e js,html
You can also configure this in a nodemon.json
config file. Here's how we're currently using it:
{
"execMap": {
"js": "node --harmony"
},
"script": "server.js",
"ext": "js html"
}