The Crystal Programming Language Forum

A LiveReload server implementation

I made https://github.com/bcardiff/live_reload.cr, a LiveReload server implementation in Crystal.

To show its usage I publish a small markdown rendering server with livereload https://github.com/bcardiff/sample-mdserver .

On some projects where webpack is not required; and stylesheets, data, or views can be updated without rebuilding the http server this can improve the feedback loop.


Since there is no shard still that does filesystem watch across linux & darwin written in pure Crystal, for now live_reload.cr does not watch files it self.

Iā€™m also thinking of adding an API inspired in https://github.com/mklabs/tiny-lr to allow external processes to trigger file changes.

9 Likes