chore: dev auto reload

This commit is contained in:
baiyongjie
2023-04-15 17:31:55 +08:00
parent 7aa26580ba
commit ead4242735
3 changed files with 28 additions and 2 deletions

13
nodemon.json Normal file
View File

@@ -0,0 +1,13 @@
{
"restartable": "rs",
"ignore": [".git", "node_modules/**/node_modules", "src/public/"],
"verbose": false,
"execMap": {
"js": "node --harmony"
},
"watch": ["src/"],
"env": {
"NODE_ENV": "development"
},
"ext": "js,json"
}