Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

reactor

reactor is the native runtime that watches an F# filetree and consistently polls your destination folder, updating what needs updating while leaving everything else untouched.

No deletions. No orphaned files. Just steady, reliable polling mechanics that respect your destination folder's current state.

[Full Live Previewer] - [QoL Tools Suite]

Build

cargo build --release

Run

.	arget\release\reactor.exe `
    --repo C:\src\orc `
    --watch C:\src\orc\docs `
    --output C:\preview\docs `
    --initial-render
  • --repo points to the shared components and your F# source tree.
  • --watch is the F# filetree you want to render.
  • --output is the destination folder that gets polled for changes.
  • --initial-render renders the whole tree before it starts polling.
  • --settle-ms controls the quiet window after a save batch (default: 200).
  • --once renders once and exits.
  • --shared-strings loads the watched site's strings/sharedstrings.fs helper through open SharedStrings.

The binding guarantee: Reactor doesn't delete anything in the destination. It polls the folder, updates only what's necessary, and leaves the rest exactly as-is. Your existing files are safe.

Literal assets retain their paths and names. F# wrapper names follow a clean mapping: index.fsindex.html, indexmd.fsindex.md, sharpEXT-name.fsname.EXT. Deletions in the source handle themselves, and changed helper modules invalidate only the pages that reference them.


More

A bundled previewer is in CommanderTurtle/preview, bringing a full-time runtime for Zensical Docs, Vite, Jekyll, and Netdocs.

This overhead repo is just the lightweight reactor runtime in Rust. See the fuller engines:

About

a small rust reactor for fsharp rendering

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages