lein-figwheel

2018-09-21T02:29:27.000100Z

I am doing an SPA on figwheel and I am trying to figure out how to configure it so that entering any route would return the`index.html`. I am looking at this answer on github (https://github.com/bhauman/lein-figwheel/issues/344#issuecomment-243922855) but I can not get it to work. My config for figwheel looks like this:

:figwheel {:http-server-root "."
             :nrepl-port 7002
             :ring-handler dev-server.server
             :nrepl-middleware ["cemerick.piggieback/wrap-cljs-repl"]
             :css-dirs ["public/css"]}
But it seems that figwheel is not caring about the :ring-handler key, even if I put any other namespace/handler into it, it does not fail or anything (even non existent). If it is useful to know, dev-server is in src/dev-server/server.js

bhauman 2018-09-21T11:29:56.000100Z

@diego.vid.eco Iā€™m sorry about that, @yogthos recently submitted a patch that fixes that

2018-09-21T13:53:57.000100Z

thanks @bhauman

šŸ‘ 1