-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.devloop.yaml
More file actions
42 lines (38 loc) · 904 Bytes
/
Copy path.devloop.yaml
File metadata and controls
42 lines (38 loc) · 904 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
settings:
color_logs: true
prefix_logs: true
rules:
- name: "backend"
watch:
- action: "include"
patterns:
- "backend/**/*.go"
- "backend/go.mod"
- "backend/go.sum"
commands:
- "cd backend && go build -o main ."
- "cd backend && ./main"
- name: "frontend"
watch:
- action: "include"
patterns:
- "frontend/**/*.js"
- "frontend/**/*.html"
- "frontend/**/*.css"
commands:
- "cd frontend && npx http-server -p 3000 -c-1"
- name: "db"
watch:
- action: "include"
patterns:
- "migrations/*.sql"
commands:
- "./migrations/run_migrations.sh"
- name: "docs"
watch:
- action: "include"
patterns:
- "docs/api_template.md"
- "backend/**/*.go"
commands:
- "./docs/generate_docs.sh"