-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexample.yml
47 lines (47 loc) · 943 Bytes
/
example.yml
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
43
44
45
46
47
watches:
- name: "primary"
config:
paths:
- "."
recursive: true
exclusions:
- "vendor"
- ".idea"
- ".git"
- ".DS_Store"
events:
- "create"
- "remove"
- "write"
onTrigger:
- run:
- "pwd"
- "ls -la {{.Name}}"
- "for i in 1 2 3; do echo \"Run #${i}\"; sleep 1; done"
continueOnError: true
- restart: "frontend"
- restart: "backend"
- name: "secondary"
config:
paths:
- "."
recursive: true
exclusions:
- "vendor"
- ".idea"
- ".git"
- ".DS_STORE"
events:
- "create"
- "remove"
- "write"
onTrigger:
- run:
- "echo 'second'"
processes:
- name: "frontend"
type: "task"
start: "echo 'starting frontend...'; echo 'success';"
- name: "backend"
type: "task"
start: "pwd"