fix heartbeat demo
This commit is contained in:
@@ -12,8 +12,5 @@ requires "nim >= 1.6.0"
|
|||||||
task build, "Build the optimized standalone binary":
|
task build, "Build the optimized standalone binary":
|
||||||
exec "nim c -d:release --opt:speed -o:bin/luxtools src/luxtools.nim"
|
exec "nim c -d:release --opt:speed -o:bin/luxtools src/luxtools.nim"
|
||||||
|
|
||||||
task run, "Start the development server with hot rebuild":
|
|
||||||
exec "nim c -o:bin/luxtools -r src/luxtools.nim"
|
|
||||||
|
|
||||||
task test, "Execute the lightweight test suite":
|
task test, "Execute the lightweight test suite":
|
||||||
exec "nim c -r --path:src -o:bin/test_rendering tests/test_rendering.nim"
|
exec "nim c --path:src -o:bin/test_rendering -r tests/test_rendering.nim "
|
||||||
|
|||||||
@@ -47,7 +47,6 @@
|
|||||||
id="server-time"
|
id="server-time"
|
||||||
hx-get="/time"
|
hx-get="/time"
|
||||||
hx-trigger="load, every 5s"
|
hx-trigger="load, every 5s"
|
||||||
hx-swap="outerHTML"
|
|
||||||
>
|
>
|
||||||
<div class="tui-panel tui-panel-inline">Loading…</div>
|
<div class="tui-panel tui-panel-inline">Loading…</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user