vindarel / lisp-journey

Discovering the Common Lisp ecosystem. https://lisp-journey.gitlab.io/
2 stars 0 forks source link

blog/i-realized-that-to-live-reload-my-web-app-is-easy-and-convenient/ #12

Open utterances-bot opened 4 years ago

utterances-bot commented 4 years ago

Today I Realized that to live reload my Lisp web app is straightforward and so convenient - Lisp journey

We all know that we can start a web server in the REPL and develop a web app as interactively as any other app, we know how to connect to a remote Lisp image by starting a Swank server and how to interact with it from our favorite editor on our machine, we know we can build a self-contained binary of the web app and simply run it, but one thing I had not realized, despite being the basics, is that by starting the web app with sbcl --load app.

https://lisp-journey.gitlab.io/blog/i-realized-that-to-live-reload-my-web-app-is-easy-and-convenient/

vindarel commented 4 years ago

and here's how to automate the connection and the update from the shell: https://lispcookbook.github.io/cl-cookbook/web.html#hot-reload

comments: https://www.reddit.com/r/lisp/comments/gibycv/today_i_realized_that_to_live_reload_my_lisp_web/