From 07967b4c04ac6ff45502803d8f0f674a25f3901d Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Fri, 15 Dec 2023 18:41:31 -1000 Subject: [PATCH] ;just: _watch --- Justfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Justfile b/Justfile index 355804d76..2190f13ca 100644 --- a/Justfile +++ b/Justfile @@ -20,6 +20,9 @@ @_fmt: just -q _check || just --fmt --unstable +@_watch: + watchexec -w {{ justfile() }} -- 'just; just -q _check && echo format ok || echo format non-standard' + # ** vars # GHC-compiled executables require a locale (and not just C) or they # will die on encountering non-ascii data. Set LANG to something if not already set.