Repository navigation
v0.3.0
flashpoint v0.3.0
Simpler restarts. On save, flashpoint builds the new server while the old one keeps serving. Then it stops the old one, waits for the port, and starts the new one on the same port. The gap is the new server's start-up, typically a few tens of milliseconds.
Removed
- The socket handoff: the
github.com/danielloader/flashpoint/listenpackage, fd-3 inheritance and theLISTEN_FDSvariables. Servers just bindPORT, so delete thelistenimport and usenet.Listenorhttp.ListenAndServe. - The browser-reload Vite plugin (
flashpoint-reload.ts) andFLASHPOINT_RELOAD_FILE.
Kept: build-while-serving, the old server staying up on a failed build, the go list watch set, the identical-binary skip, the TUI, SIGUSR1 / flashpoint reload [--wait] / the control socket, per-stream log files, and the 503 page while no server runs.
Changelog
- 1bc2815 feat!: plain stop-and-start restarts
Install
brew install danielloader/tap/flashpoint
or go install github.com/danielloader/flashpoint/cmd/flashpoint@v0.3.0, or download a binary below (macOS and Linux, amd64 and arm64).