Skip to content

v0.3.0

Choose a tag to compare

@github-actions github-actions released this 02 Oct 15:54
· 4 commits to main since this release
1bc2815

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/listen package, fd-3 inheritance and the LISTEN_FDS variables. Servers just bind PORT, so delete the listen import and use net.Listen or http.ListenAndServe.
  • The browser-reload Vite plugin (flashpoint-reload.ts) and FLASHPOINT_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).