starting interactive development
To develop and edit interactively simply run just.
% just
cd work && pnpm install Scope: all 22 workspace projects Lockfile is up to date, resolution step is skipped Already up to date Done in 2.6s cd work/vendor-j2e && pnpm compile-cli > vendor-j2e@ compile-cli /tmp/Securepub/main/work/vendor-j2e > ../elm/node_modules/.bin/elm make src/CommandLine.elm --output ./cli.js Success! CommandLine ───> ./cli.js [ -e work/zola/static/_v1.2401_/jsp ] || just setup-jsp work/venv/bin/python3 work/.sync.py --force Copying files 00.test/_sync.conf: 01.welcome/_sync.conf: 02.how-it-works/_sync.conf: 03.design/_sync.conf: 04.development/_sync.conf: 05.deployment/_sync.conf: 06.about/_sync.conf: 07.license/_sync.conf: 10.create/_sync.conf: 11.profile/_sync.conf: 20.bundlelist/_sync.conf: 21.bundle/_sync.conf: 30.topiclist/_sync.conf: 31.topic/_sync.conf: 32.review/_sync.conf: 40.memberlist/_sync.conf: 41.member/_sync.conf: 60.join/_sync.conf: 61.signin/_sync.conf: elm/_sync.conf: ts/_sync.conf: workflow/_sync.conf: overmind start -N -f .procfile system | Listening at ./.overmind.sock sw-es | Started with pid 84590... uw-ts | Started with pid 84593... review-es | Started with pid 84588... sync | Started with pid 84594... main-ts | Started with pid 84586... review-ts | Started with pid 84589... elm | Started with pid 84583... main-js | Started with pid 84587... zola-s | Started with pid 84596... main-es | Started with pid 84585... uw-es | Started with pid 84592... elm-patch | Started with pid 84584... zola | Started with pid 84595... sw-ts | Started with pid 84591... main-ts | cd work/main && pnpm run dev-main-ts # tsc type elm-patch | cd work/elm && pnpm run dev-elm-patch # apply mu review-es | cd work/review-s && pnpm run dev-review-es # esbuild elm | cd work/elm && pnpm run dev-elm # elm live main-es | cd work/main && pnpm run dev-main-es # esbuild main-js | cd work/main && pnpm run dev-main-js # js bundl sw-es | cd work/sw-s && pnpm run dev-sw-es # esbuild sw-ts | cd work/sw-s && pnpm run dev-sw-ts # tsc serv review-ts | cd work/review-s && pnpm run dev-review-ts # tsc type uw-es | cd work/uw && pnpm run dev-uw-es # esbuild uw-ts | cd work/uw && pnpm run dev-uw-ts # tsc user zola | cd work/zola && pnpm run dev conf/dev.toml # zola dev sync | work/venv/bin/python work/.sync.py # file syn zola-s | cd work/zola-s && pnpm run dev conf/devs.toml # zola rev sync | Watching for changes review-ts | review-ts | > review-s@ dev-review-ts /tmp/Securepub/main/work/review-s review-ts | > tsc --noEmit --watch | ../_blank_tsc.sh review-ts | uw-ts | uw-ts | > uw@ dev-uw-ts /tmp/Securepub/main/work/uw uw-ts | > tsc --noEmit --watch | ../_blank_tsc.sh uw-ts | elm-patch | elm-patch | > elm@ dev-elm-patch /tmp/Securepub/main/work/elm elm-patch | > ./_elm.sh dev-patch # apply _v1.2401_elm.js.patch elm-patch | # when _v1.2401_elm.js changes elm-patch | main-js | main-js | > ts@ dev-main-js /tmp/Securepub/main/work/main main-js | > esbuild securepub.js --target=firefox78 --bundle --watch main-js | --outfile=../zola/static/_v1.2401_/securepub.js main-es | main-es | > ts@ dev-main-es /tmp/Securepub/main/work/main main-es | > esbuild Main.ts --target=firefox78 --bundle --watch main-es | --outfile=../zola/static/_v1.2401_main.js main-es | zola | zola | > zola@ dev /tmp/Securepub/main/work/zola zola | > ./_zola.sh dev "conf/dev.toml" zola | main-ts | main-ts | > ts@ dev-main-ts /tmp/Securepub/main/work/main main-ts | > tsc --noEmit --watch | ../_blank_tsc.sh main-ts | review-es | review-es | > review-s@ dev-review-es /tmp/Securepub/main/work/review-s review-es | > esbuild Review.ts --target=firefox78 --bundle --watch review-es | --outfile=../zola-s/static/_v1.2401_review.js review-es | sw-ts | sw-ts | > sw-s@ dev-sw-ts /tmp/Securepub/main/work/sw-s sw-ts | > tsc --noEmit --watch | ../_blank_tsc.sh sw-ts | zola-s | zola-s | > zola-s@ dev /tmp/Securepub/main/work/zola-s zola-s | > ./_zola-s.sh dev "conf/devs.toml" zola-s | sw-es | sw-es | > sw-s@ dev-sw-es /tmp/Securepub/main/work/sw-s sw-es | > esbuild sw.ts --target=firefox78 --bundle --watch sw-es | --outfile=../zola-s/static/_v1.2401_sw.js sw-es | elm | elm | > elm@ dev-elm /tmp/Securepub/main/work/elm elm | > ./_elm.sh dev # runs elm-live elm | uw-es | uw-es | > uw@ dev-uw-es /tmp/Securepub/main/work/uw uw-es | > esbuild uw.ts --bundle --watch uw-es | --outfile=../zola/static/_v1.2401_uw.js uw-es | main-js | [watch] build finished, watching for changes... zola | Building site... zola-s | Building site... zola-s | Checking all internal links with anchors. zola-s | > Successfully checked 0 internal link(s) with anchors. zola-s | -> Creating 1 pages (0 orphan) and 2 sections zola-s | Done in 67ms. zola-s | zola-s | Web server is available at http://127.0.0.1:8001 zola-s | zola-s | Listening for changes in /tmp/Securepub/main/work/zola-s/ zola-s | {config.toml,content,static,templates} zola-s | Press Ctrl+C to stop zola-s | review-es | [watch] build finished, watching for changes... sw-es | [watch] build finished, watching for changes... zola | Checking all internal links with anchors. zola | > Successfully checked 1 internal link(s) with anchors. zola | -> Creating 39 pages (0 orphan) and 91 sections uw-es | [watch] build finished, watching for changes... zola | Done in 619ms. zola | zola | Web server is available at http://127.0.0.1:8000 zola | zola | Listening for changes in /tmp/Securepub/main/work/zola/ zola | {config.toml,content,static,templates} zola | Press Ctrl+C to stop zola | main-es | [watch] build finished, watching for changes... sw-ts | 8:15:26 PM - Starting compilation in watch mode... sw-ts | main-ts | main-ts | 8:15:26 PM - Starting compilation in watch mode... main-ts | uw-ts | 8:15:26 PM - Starting compilation in watch mode... uw-ts | review-ts | review-ts | 8:15:26 PM - Starting compilation in watch mode... review-ts | elm | elm-live: elm | The build has succeeded. elm | elm | elm-live: elm | Watching the following files: elm | - src/**/*.elm elm | sw-ts | sw-ts | 8:15:28 PM - Found 0 errors. Watching for file changes. sw-ts | ╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶ sw-ts | sw-ts | review-ts | review-ts | 8:15:28 PM - Found 0 errors. Watching for file changes. review-ts | ╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶ review-ts | review-ts | uw-ts | uw-ts | 8:15:28 PM - Found 0 errors. Watching for file changes. uw-ts | ╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶ uw-ts | uw-ts | main-ts | main-ts | 8:15:29 PM - Found 0 errors. Watching for file changes. main-ts | ╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶ main-ts | main-ts |
During development a pair of Zola processes serves ports 8000 and 8001.
Any change to the source files while these are running should cause the appropriate process to recompile the code and refresh the browser with the update.
Sometimes this doesn't happen as it should but simply stopping and restarting the processes usually fixes things. The process should also be manually restarted after changes to _sync.conf files.
stopping interactive development
Press Ctrl-C to stop the processes
Ctrl-C
elm-patch | Interrupting... review-es | Interrupting... review-ts | Interrupting... uw-es | Interrupting... uw-ts | Interrupting... zola-s | Interrupting... elm | Interrupting... main-js | Interrupting... main-es | Interrupting... sync | Interrupting... sw-ts | Interrupting... zola | Interrupting... main-ts | Interrupting... sw-es | Interrupting... sw-ts | Exited uw-ts | Exited sw-es | Exited review-es | Exited main-js | Exited sync | Exited main-ts | Exited zola-s | Exited elm | Exited review-ts | Exited main-es | Exited uw-es | Exited zola | Exited elm-patch | Exited