/refresher

Yet another HTML live-previewer

Primary LanguageJavaScriptMIT LicenseMIT

refresher: Yet another HTML live-previewer

refresher is yet another program for serving and HTML/CSS/JavaScript/etc. files in a directory and reloading them upon updates. It is based on excellent libraries such as Trio, Quart, Watchdog, and LiveReload.js.

Features:

  • Serving files temporary vanished from the file system by caching them in memory. This is useful when creating web pages with build process that takes time to complete. Use Ctrl-Shift-R to completely refresh the web page.
  • Auto-generate deterministic port number from (the hash of) the root path of the web page. Each project gets virtually unique and static port number.