runtime library

Child-side runtime API for applications launched by the hmr supervisor.

Import this only from your app's bin/main.dart. The supervisor itself uses package:hmr/hmr.dart instead.

Classes

CompileFailed
CompileStarted
CompileSucceeded
FileChanged
Raw file-system signal, emitted after filtering but before debounce. Use this to react to every accepted file event, even ones that get coalesced into a single CompileStarted by the debounce window.
FsCreated
FsDeleted
FsEvent
FsModified
FsMoved
Hmr
Child-side runtime API. Lets the supervised application react to reload lifecycle events the hmr supervisor emits.
ProcessCrashed
Emitted when the child process exits with a non-zero code unexpectedly (uncaught exception in main, explicit exit(N), etc). stderr carries the full buffered stderr verbatim — never truncated.
ReloadFailed
ReloadSucceeded
RunnerEvent
RunnerStarted
RunnerStopped

Enums

ReloadKind