Fork me on GitHub
#luminus
<
2018-03-19
>
jmckitrick14:03:17

Should I expect routes to be refreshed after a (restart) is issued?

jmckitrick14:03:55

Specifically, service routes using compojure-api.

yogthos16:03:58

@jmckitrick restart only reloads resources declared using defstate, the routes should refresh automatically on each request via wrap-reload middleware that's applied in the dev middleware

yogthos16:03:14

you should also be able to reload the route definitions from the repl

jmckitrick16:03:13

That’s what I thought, and it generally works. But some of the compojure-api metadata seems not to. I’ll keep experimenting.