Always restart the proxy service when spinning up the dev stack to account for nginx conf changes

This commit is contained in:
Andrew Kingston 2022-09-15 16:31:29 +01:00
parent e7bef7a608
commit e8ec2c0114
1 changed files with 4 additions and 0 deletions

View File

@ -71,6 +71,10 @@ async function init() {
async function up() {
console.log("Spinning up your budibase dev environment... 🔧✨")
await init()
// We always ensure to restart the proxy service in case of nginx conf changes
await compose.restartOne("proxy-service", CONFIG)
await compose.upAll(CONFIG)
}