From 49862c6a3a59c383d2e917a58abe73bd0a10e4eb Mon Sep 17 00:00:00 2001 From: BroodjeAap Date: Fri, 6 Jan 2023 11:05:41 +0000 Subject: [PATCH] finished dev/build readme section --- README.md | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a12ad3d..f1288ef 100644 --- a/README.md +++ b/README.md @@ -434,7 +434,21 @@ database: prune: "@every 1h" ``` -# Dev +# Build/Development + +For local development, clone this repository: +`git clone https://github.com/broodjeaap/go-watch` + +And build the binary: +`go build -o ./gowatch` + +Or: +`go run .` + +Or if you have [Air](https://github.com/cosmtrek/air) set up, just: +`air` + +And ## type script compilation `tsc static/*.ts --lib es2020,dom --watch --downlevelIteration`