nupp.hotreload
Cooperative development hot reload, installed by nupp run --watch.
Module contents
Functions
| Function | Kind | Description |
|---|---|---|
generation | function | Returns the currently committed implementation generation. |
poll | function | Detects source edits and commits a compatible patch at this host boundary. |
Functions#
generationfunction#
local generation: function(): integerReturns the currently committed implementation generation.
Returns
| Type | Description |
|---|---|
integer |
pollfunction#
Detects source edits and commits a compatible patch at this host boundary.
Branch on kind: a poll that published reports "prepared", one that found nothing reports "no-change", and the two refusals are told apart by whether restarting is what it would take.
Returns
| Type | Description |
|---|---|
nupp.HotReloadPoll |