Re: [racket-users] hot reloading code and html templates for web app development

2016-01-06 Thread Sam Tobin-Hochstadt
Matthew, There's a nice package for helping with this here: https://github.com/tonyg/racket-reloadable/ It's maybe not quite as automatic as having the templates be dynamically loaded, so probably we should add a way to do that too. Sam On Wed, Jan 6, 2016 at 2:32 PM, Matthew Eric Bassett

Re: [racket-users] hot reloading code and html templates for web app development

2016-01-06 Thread Jay McCarthy
Hi Matthew, The Web server doesn't do any special to prevent or make possible what you're talking about. Other orthogonal Racket features will help you though. The key is dynamic-rerequire. A great library for doing stuff like this the reloadable package:

[racket-users] hot reloading code and html templates for web app development

2016-01-06 Thread Matthew Eric Bassett
Hi all, I often use serve/servlet to launch my webapp. Often from the repl while I'm developing. One major annoyance I have, however, is that I cannot easily hot-swap code. If I change a required dependency I then need to kill the process (usually re-enter! from the repl to update the changed