Resolve frontend-core to local path from server and update nodemon to only watch src dirs
This commit is contained in:
parent
152cc3811e
commit
07afd92b16
|
@ -1,13 +1,19 @@
|
||||||
{
|
{
|
||||||
"watch": [
|
"watch": [
|
||||||
"src",
|
"src",
|
||||||
"../backend-core",
|
"../backend-core/src",
|
||||||
"../pro",
|
"../pro/src",
|
||||||
"../types",
|
"../types/src",
|
||||||
"../shared-core",
|
"../shared-core/src",
|
||||||
"../string-templates"
|
"../string-templates/src"
|
||||||
],
|
],
|
||||||
"ext": "js,ts,json,svelte",
|
"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"
|
"exec": "yarn build && node --no-node-snapshot ./dist/index.js"
|
||||||
}
|
}
|
||||||
|
|
|
@ -19,7 +19,9 @@
|
||||||
"@budibase/shared-core": ["../shared-core/src"],
|
"@budibase/shared-core": ["../shared-core/src"],
|
||||||
"@budibase/pro": ["../pro/src"],
|
"@budibase/pro": ["../pro/src"],
|
||||||
"@budibase/string-templates": ["../string-templates/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
|
"allowArbitraryExtensions": true
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue