Skip to main content

Module dev

Module dev 

Source
Expand description

nf dev: run the app and reload it in place every time one of its source files is saved. State the new version still declares with the same name and type keeps its value.

StructsΒ§

DevSession πŸ”’

ConstantsΒ§

SAVE_SETTLE_TIME πŸ”’
Editors often save in several steps; changes this close together reload once.

FunctionsΒ§

report_and_continue πŸ”’
While developing, an error in an event is reported and the app keeps running, so the next save can fix it.
run πŸ”’
watch πŸ”’
Wakes the UI thread whenever a source file in folder changes.
watched πŸ”’
Where saves show up: a project’s whole folder, where files can also be added or removed, or the folder holding a single file. Watching a folder rather than files catches editors that save by replacing the file.

Type AliasesΒ§

Showing πŸ”’
The sources of the version showing now, which runtime errors point into.