Fix nodemon watch

This commit is contained in:
Adria Navarro 2023-08-01 18:06:36 +02:00
parent 50ca4de0f7
commit 5347504c12
2 changed files with 18 additions and 12 deletions

View File

@ -1,10 +1,13 @@
{ {
"watch": ["src", "../backend-core", "../pro"], "watch": [
"ext": "js,ts,json", "src",
"ignore": [ "../backend-core",
"src/**/*.spec.ts", "../pro",
"src/**/*.spec.js", "../types",
"../backend-core/dist/**/*" "../shared-core",
"../string-templates"
], ],
"ext": "js,ts,json",
"ignore": ["src/**/*.spec.ts", "src/**/*.spec.js", "../*/dist/**/*"],
"exec": "yarn build && node ./dist/index.js" "exec": "yarn build && node ./dist/index.js"
} }

View File

@ -1,10 +1,13 @@
{ {
"watch": ["src", "../backend-core", "../pro"], "watch": [
"ext": "js,ts,json", "src",
"ignore": [ "../backend-core",
"src/**/*.spec.ts", "../pro",
"src/**/*.spec.js", "../types",
"../backend-core/dist/**/*" "../shared-core",
"../string-templates"
], ],
"ext": "js,ts,json",
"ignore": ["src/**/*.spec.ts", "src/**/*.spec.js", "../*/dist/**/*"],
"exec": "yarn build && node dist/index.js" "exec": "yarn build && node dist/index.js"
} }