watch command support
This commit is contained in:
parent
1fcd64ad42
commit
4e56cccea5
1 changed files with 19 additions and 0 deletions
|
@ -27,6 +27,15 @@ services:
|
||||||
networks:
|
networks:
|
||||||
- perplexica-network
|
- perplexica-network
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
develop:
|
||||||
|
watch:
|
||||||
|
- action: sync
|
||||||
|
path: ./backend
|
||||||
|
target: /home/perplexica
|
||||||
|
ignore:
|
||||||
|
- node_modules/
|
||||||
|
- action: rebuild
|
||||||
|
path: backend.dockerfile
|
||||||
|
|
||||||
perplexica-frontend:
|
perplexica-frontend:
|
||||||
build:
|
build:
|
||||||
|
@ -42,6 +51,16 @@ services:
|
||||||
networks:
|
networks:
|
||||||
- perplexica-network
|
- perplexica-network
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
develop:
|
||||||
|
watch:
|
||||||
|
- action: sync
|
||||||
|
path: ./frontend
|
||||||
|
target: /app
|
||||||
|
ignore:
|
||||||
|
- node_modules/
|
||||||
|
- .next/
|
||||||
|
- action: rebuild
|
||||||
|
path: app.dockerfile
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
perplexica-network:
|
perplexica-network:
|
||||||
|
|
Loading…
Add table
Reference in a new issue