enhance: add a --dev mode to publishing that pairs with shadow's watch

This commit is contained in:
Gabriel Horner
2024-01-22 14:35:36 -05:00
parent 73cbcc5a1c
commit 7831476c70
4 changed files with 31 additions and 17 deletions

View File

@@ -320,10 +320,14 @@ point out:
```sh
# One time setup
$ cd scripts && yarn install && cd -
# Build the export
# Build a release export
$ bb dev:publishing /path/to/graph-dir tmp/publish
# OR build a dev export with `clojure -M:cljs watch publishing` and then
$ bb dev:publishing /path/to/graph-dir tmp/publish --dev
# View the app in a browser
$ open tmp/publish/index.html
$ python3 -m http.server 8080 -d tmp/db-publish &; open http://localhost:8080
```
There are also some tasks under `nbb:` which are useful for inspecting database