diff --git a/TODO.org b/TODO.org index adde42c..0d3d1cb 100644 --- a/TODO.org +++ b/TODO.org @@ -2,11 +2,16 @@ * Todos -** TODO Creating hot reload +** TODO Creating a server +:LOGBOOK: +CLOCK: [2022-05-29 Sun 11:24] +:END: - [[https://nim-lang.org/docs/asynchttpserver.html][std/asynchttpserver]] - [[https://github.com/h3rald/nimhttpd/blob/master/src/nimhttpd.nim][nimhttpd/nimhttpd.nim at master ยท h3rald/nimhttpd]] +** TODO Creating hot reload + - [ ] [[https://dev.to/alemagio/implement-your-own-hot-reload-2435][Implement your own hot-reload - DEV Community]] - [ ] [[https://maheshsenniappan.medium.com/creating-a-module-bundler-with-hot-module-replacement-b439f0cc660f][Creating a module bundler with Hot Module Replacement | by Mahesh Senniappan | Medium]] - [ ] [[https://maheshsenniappan.medium.com/creating-a-module-bundler-with-hot-module-replacement-b439f0cc660f][Creating a module bundler with Hot Module Replacement | by Mahesh Senniappan | Medium]] diff --git a/src/js/example/nim.cfg b/src/js/dist/nim.cfg similarity index 100% rename from src/js/example/nim.cfg rename to src/js/dist/nim.cfg diff --git a/src/js/example/package.json b/src/js/dist/package.json similarity index 100% rename from src/js/example/package.json rename to src/js/dist/package.json diff --git a/src/js/example/sandbox.nim b/src/js/dist/sandbox.nim similarity index 100% rename from src/js/example/sandbox.nim rename to src/js/dist/sandbox.nim diff --git a/src/js/example/style-custom.css b/src/js/dist/style-custom.css similarity index 100% rename from src/js/example/style-custom.css rename to src/js/dist/style-custom.css diff --git a/src/js/example/style.css b/src/js/dist/style.css similarity index 100% rename from src/js/example/style.css rename to src/js/dist/style.css diff --git a/src/js/example/yarn.lock b/src/js/dist/yarn.lock similarity index 100% rename from src/js/example/yarn.lock rename to src/js/dist/yarn.lock diff --git a/src/js/example/index.html b/src/js/index.html similarity index 64% rename from src/js/example/index.html rename to src/js/index.html index f719632..d83455b 100644 --- a/src/js/example/index.html +++ b/src/js/index.html @@ -3,16 +3,16 @@ - - + + Nim on JS
- - + + - - +