fix: use docker compose watch under dev
All checks were successful
Deploy to Production / deploy (push) Successful in 1m12s

This commit is contained in:
魏风
2026-03-25 09:42:57 +08:00
parent 89c13e8cad
commit 4caf19fcc0
3 changed files with 44 additions and 4 deletions

View File

@@ -114,9 +114,31 @@ services:
build:
context: .
dockerfile: frontend/Dockerfile
target: dev-stage
args:
- VITE_API_URL=http://localhost:8000
- NODE_ENV=development
environment:
- VITE_API_URL=http://localhost:8000
- CHOKIDAR_USEPOLLING=true
- CHOKIDAR_INTERVAL=150
develop:
watch:
- path: ./frontend
action: sync
target: /app/frontend
ignore:
- node_modules/
- dist/
- blob-report/
- test-results/
- package.json
- path: ./frontend/package.json
action: rebuild
- path: ./package.json
action: rebuild
- path: ./bun.lock
action: rebuild
playwright:
build: