-
Notifications
You must be signed in to change notification settings - Fork 1
/
gowatch.yml
52 lines (39 loc) · 1.37 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
51
52
# gowatch.yml configuration example
# The name of the executable file generated under the current directory execution. The default is the current directory name.
appname: "replish"
# Specify the command to run after builds done
run_cmd: "replish.exe"
# Specify the directory where the compiled object files are stored
output: .
# The file name suffix that needs to be monitored. By default, there is only a '.go' file.
watch_exts:
- .replit
- .go
# The directory that needs to listen for file changes. By default, only the current directory.
watch_paths:
- server/
- .
# Additional parameters that need to be added when running the application
cmd_args:
# 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:
# 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:
- tmp
- .vscode
- .git
- bin
# 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