Skip to content

Commit 6f28773

Browse files
authored
Update dev instructions for air
1 parent b32c1ef commit 6f28773

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,4 +193,14 @@ echo "dev" > handlers/VERSION
193193
RULESET="./ruleset.yaml" go run cmd/main.go
194194
```
195195

196+
### Optional: Live reloading development server with [cosmtrek/air](https://github.com/cosmtrek/air)
197+
198+
Install air according to the [installation instructions](https://github.com/cosmtrek/air#installation).
199+
200+
Run a development server at http://localhost:8080:
201+
202+
```bash
203+
air # or the path to air if you haven't added a path alias to your .bashrc or .zshrc
204+
```
205+
196206
This project uses [pnpm](https://pnpm.io/) to build a stylesheet with the [Tailwind CSS](https://tailwindcss.com/) classes. For local development, if you modify styles in `form.html`, run `pnpm build` to generate a new stylesheet.

0 commit comments

Comments
 (0)