Resolve frontend-core to local path from server and update nodemon to only watch src dirs

This commit is contained in:
Andrew Kingston 2024-11-29 14:14:52 +00:00
parent 152cc3811e
commit 07afd92b16
No known key found for this signature in database
2 changed files with 15 additions and 7 deletions

View File

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

View File

@ -19,7 +19,9 @@
"@budibase/shared-core": ["../shared-core/src"],
"@budibase/pro": ["../pro/src"],
"@budibase/string-templates": ["../string-templates/src"],
"@budibase/string-templates/*": ["../string-templates/*"]
"@budibase/string-templates/*": ["../string-templates/*"],
"@budibase/frontend-core": ["../frontend-core"],
"@budibase/frontend-core/*": ["../frontend-core/*"]
},
"allowArbitraryExtensions": true
},