immutant

http://immutant.org Note: dev discussion happens in #immutant on FreeNode IRC.
Pontus 2017-11-05T13:17:05.000096Z

I've added wrap-development but it doesn't seem to reload the server when I make changes. I see in the docs "reload middleware with the correct :dirs option set", where should this :dirs be set? I've used it like so: https://github.com/pcolliander/api-test/blob/master/src/clj/api_test/handler.clj#L63 Anyone got an idea why it doesn't work?

2017-11-05T13:23:14.000068Z

@pontus.colliander that line in the docs is referring to https://github.com/immutant/immutant/blob/2.1.9/web/src/immutant/web/middleware.clj#L35, meaning it will set up wrap-reload for you. What version of java are you using? Is this with Java 9?

2017-11-05T13:23:42.000056Z

And how are you starting the app?

Pontus 2017-11-05T13:33:37.000048Z

Ah okay, so it's not something I should set anywhere myself? I'm starting it with lein run, and in the project.clj I've set :main to hit this start function: https://github.com/pcolliander/api-test/blob/master/src/clj/api_test/handler.clj#L75

Pontus 2017-11-05T13:50:42.000042Z

And it's with Java 8