# `nupp.hotreload` Cooperative development hot reload, installed by `nupp run --watch`. ## Functions ### `generation` _function_ ```nupp local generation: nosuspend function(): integer ``` Returns the currently committed implementation generation. #### Returns | Type | Description | | --- | --- | | `integer` | | ### `poll` _function_ ```nupp local poll: function(): nupp.HotReloadPoll ``` 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` | |