feat: Add nodemon for automatic restarting of server

This commit is contained in:
Kasper Rynning-Tønnesen
2021-03-25 20:23:42 +01:00
parent ea10f95a22
commit 64377b7cc0
3 changed files with 568 additions and 14 deletions

10
nodemon.json Normal file
View File

@@ -0,0 +1,10 @@
{
"restartable": "rs",
"ignore": [".git", "node_modules/**/node_modules"],
"verbose": true,
"execMap": {
"js": "node --harmony"
},
"watch": ["./config", "./api"],
"ext": "js"
}