This middleware was created because my team was running into problems
wrap-reload middleware. Unfortunately these problems
happened about nine months ago and, since I didn’t write this post
back then, I’ve since forgotten these problems. Regardless, this
project has been used since the beginning of this year and has helped
make my team’s development workflow smoother. If you are running into
problems it might help you too.
If you’d like to give it a shot, then add the latest version (at the time of writing
[com.jakemccrary/reload "0.1.0"]) to your project.clj.
com.jakemccrary.middleware.reload and wrap your handler with
1 2 3 4 5 6 7
reload/wrap-reload optionally takes a list of directories to monitor
as a second parameter. By default it reloads the