You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
root_path = "."watch_target_dirs = ["."]
watch_exclude_dirs = [".git", "vendor", "bin"]
watch_file_ext = [".go", ".tmpl", ".html"]
# usually used when we need to ignore files generated by `go generate`# need to include dir pathwatch_file_exclude_pattern = [
"lib/*_gen.go",
"lib/bindata.go"
]
build_target_dir = "bin"build_target_name = "argprint"build_command = "go"build_options = ["build", "-v"]
# command will be `build_target_dir/build_target_name start_options`# in this case bin/myserver -v# start_options = ["-v"]start_options = ["/bin/sh", "-c", "echo foobar"]
# default true, but it's possible to make this fale, when# running a program that doesn't persist as a processrestart_process = false
Summary
It seems that
start_options
does not preserve argument strings and splits everything.Test Case
wbs.toml
:main.go
Results in
echo
What I would expect
That the given example should output
echo foobar
not onlyecho
.Workaround
Wrapping the third argument again in single qutes result in the wanted output.
The text was updated successfully, but these errors were encountered: