-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathgowatch.yml
50 lines (37 loc) · 1.34 KB
/
gowatch.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
# gowatch.yml configuration example
# The name of the executable file generated under the current directory execution. The default is the current directory name.
# appname: "wichtelbot"
# Specify the command to run after builds done
# run_cmd: "wichtelbot"
# Specify the directory where the compiled object files are stored
# output: /bin/demo
# The file name suffix that needs to be monitored. By default, there is only a '.go' file.
watch_exts:
- .yml
# - .html
# The directory that needs to listen for file changes. By default, only the current directory.
# watch_paths:
# - ../pk
# Additional parameters that need to be added when running the application
cmd_args:
- dev
# Additional parameters that need to be added when building the application
# build_args:
# - -race
# Need to increase environment variables, the current environment variables are loaded by default
# envs:
# - a=b
# Whether to listen to file changes in the 'vendor' folder
# vendor_watch: false
# Directory that do not need to listen for file changes
# excluded_paths:
# - path
# main package path, can also be a single file, multiple files separated by commas
# build_pkg: ""
# build tags
# build_tags: ""
# Commands that can be executed before build the app
#prev_build_cmds:
# - swag init
# Whether to prohibit automatic operation
disable_run: false