mirror of
https://github.com/srid/ema.git
synced 2024-11-28 23:42:59 +03:00
Haskell static site generator that is change-aware
.github/workflows | ||
.vscode | ||
bin | ||
src/Ema | ||
.ghcid | ||
.gitignore | ||
CHANGELOG.md | ||
ema.cabal | ||
flake.lock | ||
flake.nix | ||
hie.yaml | ||
LICENSE | ||
README.md | ||
shell.nix |
ema
WIP
ema is the next-generation static site generator and live server that hot-reload's on code or data change.
Hacking
Open in VSCode, and run the build task.
TODO
- MVP
- Implement hot reload, and ditch browser-sync
- server to client refresh
- client to server reconnect (on ghcid reload, or accidental client disconnect)
- or, investigate https://hackage.haskell.org/package/ghci-websockets
- Example: filesystem watcher
public,
- refactor and simplify
- examples
doc notes,
- use async:race to avoid ghcid ghosts
- at most one ws client supported right now
- tailwind + blaze-html layout (BlazeWind?) for no-frills getting started