Hacker News new | ask | show | jobs
by TZubiri 635 days ago
A nice intermediate I use is baking the paths into the source code, so that I only recompile when I add files, but I can hot-swap contents without even restarting the server.

Although if you start caching contents in memory (which is faster) you would have to at least kill the server and restart it. Or signal a reload.

1 comments

Seems like the worst of both worlds. You need to recompile for content changes, and you need to distribute multiple files.