Expand description
The design store: every design asked for kept resolved in memory and
resolved again only when a save touched what it read, its problems and
its PNG. The watch stream and the canvas page that show designs in the
browser are the server’s, in server::watch_stream and server::canvas.
Structs§
- Designs
- Every design the server has been asked for, kept resolved in memory, and the renderer that paints them: its fonts load once.
Enums§
- Next
- What a watch stream sends next for a design, after the version it sent.
Constants§
- TILES_
CAP - What the store’s tiles may hold together: 64 MB of pixels.
Functions§
- address
- A design’s address as the engine names files: from the top of the served folder, without a leading slash.
- files
- Every file the design at
pathis made of, read straight from disk: the design itself, its imports, images, themes and fonts — what resolving it reads, whether or not it resolves. Folders it lists are not files; the fonts it then reads from them are. - guarded
- What
fgives, or — should the engine ever panic on a design — a problem saying so, so that no design file can take the server or its watcher down. - problems
- The design at
path’s problems, read straight from disk: whatdevpage checkand a page’s problems bar report.