Created
April 6, 2018 15:04
-
-
Save quangv/42732a0c15552122feec1781ca6850cc to your computer and use it in GitHub Desktop.
Fulcro figwheel websocket-host
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
quang [2:47 AM] | |
Is there anyway to `./run-tutorial.sh` with a different `:websocket-host` ? | |
quang [3:32 AM] | |
I tried added `:websocket-host :js-client-host` to `tutorial` id in `project.clj` but that didn't work... I ended up having to edit the compiled `resources/public/js/tutorial/figwheel/client/socket.js` manually. | |
`JVM_OPTS=-Dfigwheel.port=8001 ./run-tutorial.sh` should do it for JDK8. The console message will still say 8080, but you can ignore it. For JDK 9, you’ll need: `JVM_OPTS="--add-modules java.xml.bind -Dfigwheel.port=8001" ./run-tutorial.sh` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment