-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtemplier.yml
84 lines (78 loc) · 1.66 KB
/
templier.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
proxy-timeout: 10s
format: true
lint: true
templier-host: "localhost:7331"
log:
level: erronly
clear-on: file-change
print-js-debug-logs: true
debounce: 50ms
tls:
app:
dir-src-root: "./"
exclude:
- ".*" # All hidden files.
- "*~" # Any temporary backup files IDEs might use.
- node_modules/*
- eslint.config.mjs
dir-cmd: "./cmd/server"
dir-work:
host: "http://127.0.0.1:8080"
flags:
custom-watchers:
- name: "Go mod update"
cmd:
include:
- "go.mod"
- "go.sum"
exclude:
debounce:
fail-on-error: true
requires: rebuild
- name: "Bundle CSS"
cmd: bun run build:css
include:
- "*.templ"
- "server/*.css"
- "tailwind.config.js"
- "postcss.config.js"
exclude: ["server/public/*"]
fail-on-error: true
debounce:
requires: # No action, "Bundle Changed" will do the reloading.
- name: Bundle Components
cmd: bun run build:components
include:
- "server/components/*"
- "tsconfig.js"
- "postcss.config.js"
- "tailwind.config.js"
exclude:
fail-on-error: true
debounce:
requires: # No action, "Bundle Changed" will do the reloading.
- name: Bundle TS
cmd: bun run build:ts
include: ["server/*.ts"]
exclude: ["server/components/*", "server/public/*"]
fail-on-error: true
debounce:
requires: # No action, "Bundle Changed" will do the reloading.
- name: Bundle Changed
cmd: # Just reload all tabs.
include: ["server/public/*"]
exclude:
fail-on-error:
debounce:
requires: reload
compiler:
gcflags:
ldflags:
asmflags:
race:
msan:
tags:
trimpath:
p:
env:
CGO_ENABLED: 0