NodeHmrRunner
Summary
Handle returned by run for controlling the supervised process.
Signature
Properties
generation
Current server generation, incremented after every accepted hot update or process restart.
Methods
close(): Promise<void>
Stops the runner and waits for the child process to exit.
ready(): Promise<void>
Waits until the latest update or restart has settled and the current child process is ready.
If the app uses emitServerReady(), restart readiness also waits for that signal.