Expand description
The tear-sanctioned watcher backend, with the polling-backend exclusion asserted at startup (F-7b constraint 4, condition 3).
notify ships a PollWatcher fallback, and silently resolving to it on
any platform would smuggle the banned shape through a sanctioned door.
RecommendedWatcher resolves at compile time; this module asserts the
resolved backend is a NATIVE event one (FSEvents on macOS, inotify on
Linux) and refuses typed before any watch is established otherwise.
Kqueue is refused too: the ruling names FSEvents/inotify, and widening
it is a tear question, not a worker choice.
Structs§
- NonNative
Backend - Typed startup refusal for a non-native watch backend.
- Watched
Set - The watched set of one generated project (F-7b R2): the component manifest and the component sources, nothing else.
Enums§
- Classification
- What one watcher event means to the dev loop.
Functions§
- assert_
native_ backend - Asserts the compile-time-resolved watcher backend is a native event
backend, returning it for the startup report. Called before any watch
is established; the typed refusal aborts
frame devloudly.