From 0130c010b16afe995eca620d1f6685e581e0708c Mon Sep 17 00:00:00 2001 From: joncrangle <94425204+joncrangle@users.noreply.github.com> Date: Thu, 30 Nov 2023 22:29:47 -0500 Subject: [PATCH] Update full bin and pre_cmd --- .air.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.air.toml b/.air.toml index 9b5b43c..4db896c 100644 --- a/.air.toml +++ b/.air.toml @@ -12,7 +12,7 @@ tmp_dir = "tmp" exclude_regex = ["_test.go"] exclude_unchanged = false follow_symlink = false - full_bin = "RULESET=./ruleset.yaml ./tmp/main" + full_bin = "./tmp/main --ruleset ./ruleset.yaml" include_dir = [] include_ext = ["go", "tpl", "tmpl", "yaml", "html", "js"] include_file = [] @@ -21,7 +21,7 @@ tmp_dir = "tmp" poll = false poll_interval = 0 post_cmd = [] - pre_cmd = ["echo 'dev' > handlers/VERSION"] + pre_cmd = ["echo 'dev' > handlers/VERSION echo 'dev' > cmd/VERSION"] rerun = false rerun_delay = 500 send_interrupt = false