BUCKannotatedBUCKsource22 lines · 738 B · raw

buck2 run //:dev — the site with hot reload on http://localhost:4322/, and the jevstrudel Worker beside it (tools/dev/dev.mjs).

3sh_binary(
4    name = "dev",
5    main = "tools/dev/dev.mjs",
6)

buck2 run //:preview — what nix run .#deploy would publish, on http://localhost:4324/: the static build and the production Worker (tools/dev/preview.mjs).

11sh_binary(
12    name = "preview",
13    main = "tools/dev/preview.mjs",
14)

buck2 run //:check-songs [-- [--speed N] [song …]] — every song played fast in a silent headless tab on the running dev server, with what Jev did and anything that went wrong (tools/check-songs/check.mjs).

19sh_binary(
20    name = "check-songs",
21    main = "tools/check-songs/check.mjs",
22)