3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-03-15 05:41:51 +00:00

nodemon: set watch delay of 300 to prevent mass-restarts on pulls/refactors

This commit is contained in:
Dragory 2019-11-27 21:19:18 +02:00
parent f0f4f1bd6c
commit 02e53aa358
2 changed files with 2 additions and 0 deletions

View file

@ -1,6 +1,7 @@
{ {
"watch": ["src", "../shared/src"], "watch": ["src", "../shared/src"],
"ignore": ["src/migrations/*"], "ignore": ["src/migrations/*"],
"delay": 300,
"ext": "ts", "ext": "ts",
"exec": "node -r ts-node/register -r tsconfig-paths/register ./src/api/index.ts" "exec": "node -r ts-node/register -r tsconfig-paths/register ./src/api/index.ts"
} }

View file

@ -1,6 +1,7 @@
{ {
"watch": ["src", "../shared/src"], "watch": ["src", "../shared/src"],
"ignore": ["src/api/*", "src/migrations/*"], "ignore": ["src/api/*", "src/migrations/*"],
"delay": 300,
"ext": "ts", "ext": "ts",
"exec": "node -r ts-node/register -r tsconfig-paths/register ./src/index.ts" "exec": "node -r ts-node/register -r tsconfig-paths/register ./src/index.ts"
} }