#!/usr/bin/env bash

(
	trap 'kill 0' SIGINT
	cargo watch -w "src" -x check -s 'touch .trigger' &
	RUST_LOG=error,warn,info cargo watch --no-vcs-ignores -w .trigger -x "run -- --config-dir test-config watch"
)