Fix hot reloading backend with new updates to Task

This commit is contained in:
Jamie Curnow
2023-02-19 15:11:22 +10:00
parent a2b4fbc36f
commit 80315bd50e
3 changed files with 3 additions and 0 deletions

View File

@ -11,6 +11,7 @@ if [ "$DEVELOPMENT" == "true" ]; then
mkdir -p "$GOPATH"
chown -R npmuser:npmuser "$GOPATH"
export HOME GOPATH
rm -rf /app/backend/.task
cd /app/backend || exit 1
s6-setuidgid npmuser task -w
else