diff options
author | Yanis Zafirópulos <1265028+drkameleon@users.noreply.github.com> | 2020-10-29 10:33:47 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-29 10:33:47 +0100 |
commit | 0cae8ef2caccaf1104b21ab957dd877d5c2f461c (patch) | |
tree | 42a21cbbbbea4f3c1538ceaf3d119f93cc2edc32 /doc/hcr.rst | |
parent | 485d4ff802c361f363d2f455b98abc5db1a7082d (diff) | |
download | Nim-0cae8ef2caccaf1104b21ab957dd877d5c2f461c.tar.gz |
Massive documentation fixes + copy editing (#15747)
Diffstat (limited to 'doc/hcr.rst')
-rw-r--r-- | doc/hcr.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/hcr.rst b/doc/hcr.rst index 55ccc06dc..d2e13e1c7 100644 --- a/doc/hcr.rst +++ b/doc/hcr.rst @@ -14,11 +14,11 @@ preserved. Basic workflow ============== -Currently hot code reloading does not work for the main module itself, +Currently, hot code reloading does not work for the main module itself, so we have to use a helper module where the major logic we want to change during development resides. -In this example we use SDL2 to create a window and we reload the logic +In this example, we use SDL2 to create a window and we reload the logic code when ``F9`` is pressed. The important lines are marked with ``#***``. To install SDL2 you can use ``nimble install sdl2``. @@ -125,7 +125,7 @@ Then recompile the project, but do not restart or quit the mymain.exe program! nim c --hotcodereloading:on mymain.nim -Now give the ``mymain`` SDL window the focus, press F9 and watch the +Now give the ``mymain`` SDL window the focus, press F9, and watch the updated version of the program. |