Wd-40, a static webserver with automatic hot-reloads

The web development test coverage for wd-41 is at an impressive 73.640%. This simple static webserver automatically reloads your web browser when changes are made to the hosted content. To get started, use the command wd-41 s|serve . The architecture involves copying website content to a temporary directory, inspecting files, injecting a delta-streamer.js script for text/html files, starting the web server, and setting up a websocket connection. Any changes made to the original file system are mirrored and propagated to the browser via the websocket. The delta-streamer.js script then reloads the page if the updated file matches the current window origin.

https://github.com/baalimago/wd-40

To top