This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-11-05
Channels
- # bangalore-clj (5)
- # beginners (77)
- # boot (29)
- # cider (11)
- # clojure (110)
- # clojure-dev (5)
- # clojure-greece (1)
- # clojure-poland (1)
- # clojure-russia (11)
- # clojure-spec (1)
- # clojurescript (143)
- # clojurex (1)
- # core-async (1)
- # css (1)
- # cursive (40)
- # data-science (1)
- # datomic (6)
- # figwheel (4)
- # fulcro (45)
- # immutant (5)
- # off-topic (4)
- # onyx (8)
- # portkey (9)
- # re-frame (112)
- # shadow-cljs (30)
- # spacemacs (3)
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?
@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?
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