Fork me on GitHub
#lein-figwheel
<
2016-04-21
>
nooga12:04:26

my project.clj says:

nooga12:04:06

how do I run my own server and retain figwheel’s functionality then?

venantius17:04:57

it’s simple

venantius18:04:05

all figwheel does is provide a websocket server

venantius18:04:14

so if you’ve got a Clojure server running on localhost:5000

venantius18:04:21

and a figwheel server running a localhost:3449

venantius18:04:30

but the clojure server is serving up the compiled JS from the figwheel process

venantius18:04:42

you can go to localhost:5000 and the figwheel JS in the browser will still get all that sweet websocket goodness