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:
parent
f0f4f1bd6c
commit
02e53aa358
2 changed files with 2 additions and 0 deletions
|
@ -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"
|
||||||
}
|
}
|
||||||
|
|
|
@ -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"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue