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.
That would make it not only faster but also safer.