amke hot reload work for node app
This commit is contained in:
parent
2ae502e790
commit
c3e363fb9b
3 changed files with 6 additions and 1 deletions
|
|
@ -20,7 +20,7 @@ su - postgres -c "psql -c \"CREATE DATABASE $POSTGRES_DB OWNER $POSTGRES_USER;\"
|
|||
caddy run --config /etc/caddy/Caddyfile &
|
||||
|
||||
# Start Express app
|
||||
npm start
|
||||
exec nodemon src/app.js
|
||||
|
||||
# Keep container running
|
||||
wait
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue