tour_of_rust
tour_of_rust copied to clipboard
auto-reload on content change
while translating, It's useful to automatically refresh the content when it's changed. As a workaround, I'm using a one liner like
while true ; do timeout 30 make ; done
to rebuild pages and reload the http server every 30 seconds, but there are for sure better methods , maybe leveraging some module in the nodejs ecosystems itself, instead of relying on python's http server ? See for example
- https://github.com/http-party/http-server
- https://github.com/remy/nodemon