chore: make nodemon watch .env file

This commit is contained in:
Methapon Metanipat 2024-08-27 16:56:20 +07:00
parent 4341e57bef
commit ba23ce870d

View file

@ -1,6 +1,6 @@
{ {
"exec": "tsoa spec-and-routes && ts-node src/app.ts", "exec": "tsoa spec-and-routes && ts-node src/app.ts",
"ext": "ts", "ext": "ts",
"watch": ["src"], "watch": [".env", "src"],
"ignore": ["src/routes.ts"] "ignore": ["src/routes.ts"]
} }