fix: devcontainer paths/logs (#19236)

This commit is contained in:
Min Idzelis
2025-06-17 16:52:57 -04:00
committed by GitHub
parent 91cbd56c1c
commit c6641d4859
6 changed files with 59 additions and 25 deletions
@@ -3,15 +3,15 @@
# shellcheck disable=SC1091
source /immich-devcontainer/container-common.sh
echo "Starting Nest API Server"
log "Starting Nest API Server"
log ""
cd "${IMMICH_WORKSPACE}/server" || (
echo workspace not found
log "Immich workspace not found"
exit 1
)
while true; do
node ./node_modules/.bin/nest start --debug "0.0.0.0:9230" --watch
echo " Nest API Server crashed with exit code $?. Respawning in 3s ..."
run_cmd node ./node_modules/.bin/nest start --debug "0.0.0.0:9230" --watch
log "Nest API Server crashed with exit code $?. Respawning in 3s ..."
sleep 3
done