diff --git a/justfile b/justfile index a0732b4..c7f6fb3 100644 --- a/justfile +++ b/justfile @@ -33,7 +33,7 @@ run-back: test-back: cd {{ output_dir }} && CONFIG_PATH={{ output_dir }} GO_ENV=test go test -C .. ./... -watch-back: clean +watch-back: watchexec -r -e go,yaml,tpl -i '.devenv/**' -i '.direnv/**' -i 'client/**' -i 'vendor/**' 'go build -o {{ join(output_dir, "nixcn-cms") }} . && cd {{ output_dir }} && CONFIG_PATH={{ output_dir }} {{ exec_path }}' dev: clean install