mirror of
https://github.com/xiaoxinpro/nginx-proxy-manager-zh.git
synced 2025-01-22 21:08:13 -05:00
Fix hot reloading backend with new updates to Task
This commit is contained in:
parent
a2b4fbc36f
commit
80315bd50e
1
.gitignore
vendored
1
.gitignore
vendored
@ -7,6 +7,7 @@ vendor
|
||||
bin/*
|
||||
backend/config.json
|
||||
backend/embed/assets
|
||||
backend/.task
|
||||
test/node_modules
|
||||
*/node_modules
|
||||
docs/.vuepress/dist
|
||||
|
@ -14,6 +14,7 @@ tasks:
|
||||
cmds:
|
||||
- task: locale
|
||||
- task: build
|
||||
force: true
|
||||
- cmd: echo -e "==> Running..."
|
||||
silent: true
|
||||
- cmd: ../dist/bin/server
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user