figwheel-main.edn 1.2 KB

12345678910111213141516171819202122232425262728293031
  1. ;; Figwheel-main configuration options see: https://figwheel.org/config-options
  2. ;; these will be overriden by the metadata config options in dev.cljs.edn build file
  3. {
  4. ;; Set the server port https://figwheel.org/config-options#ring-server-options
  5. ;; :ring-server-options {:port 9500}
  6. ;; Target directory https://figwheel.org/config-options#target-dir
  7. ;; you may want to set this to resources if you are using Leiningen
  8. ;; :target-dir "resources"
  9. ;; Server Ring Handler (optional) https://figwheel.org/docs/ring-handler.html
  10. ;; If you want to embed a ring handler into the figwheel server, this
  11. ;; is for simple ring servers
  12. :ring-handler pos-demo.core/web-handler
  13. ;; To be able to open files in your editor from the heads up display
  14. ;; you will need to put a script on your path. This script will have
  15. ;; to take a file path and a line number ie.
  16. ;; in ~/bin/myfile-opener:
  17. ;;
  18. ;; #! /bin/sh
  19. ;; emacsclient -n +$2:$3 $1
  20. ;;
  21. ;; :open-file-command "myfile-opener"
  22. ;; if you are using emacsclient you can just use
  23. ;; :open-file-command "emacsclient"
  24. ;; Logging output gets printed to the REPL, if you want to redirect it to a file:
  25. ;; :log-file "figwheel-main.log"
  26. }