Skip to content

Commit 703720b

Browse files
authored
Update beach.sh to run cache:setupall
We do run `cache:warmup` when application startup scripts are enabled. But we should also run `cache:setupall` before that.
1 parent 4f00472 commit 703720b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

root-files/opt/flownative/lib/beach.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,8 @@ beach_run_resource_publish() {
183183
# @return void
184184
#
185185
beach_run_cache_warmup() {
186+
info "Beach: Setting up caches"
187+
"${BEACH_APPLICATION_PATH}/flow" cache:setupall 2>&1 | (sed 's/^/Beach: (flow) /' | output)
186188
info "Beach: Warming up caches"
187189
"${BEACH_APPLICATION_PATH}/flow" cache:warmup 2>&1 | (sed 's/^/Beach: (flow) /' | output)
188190
}

0 commit comments

Comments
 (0)