tour_of_rust icon indicating copy to clipboard operation
tour_of_rust copied to clipboard

auto-reload on content change

Open ilmanzo opened this issue 2 years ago • 0 comments

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

ilmanzo avatar Sep 09 '21 09:09 ilmanzo