Files: 9d1e63bc283a3fb6d5117ccde8391ab0a644053f / statechart-examples / figwheel-main.edn
1172 bytesRaw
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 | |
7 | ;; Change the target directory from the "target" to "resources" |
8 | ;; https://figwheel.org/config-options#target-dir |
9 | :target-dir "resources" |
10 | |
11 | ;; Server Ring Handler (optional) https://figwheel.org/docs/ring-handler.html |
12 | ;; If you want to embed a ring handler into the figwheel server, this |
13 | ;; is for simple ring servers |
14 | ;; :ring-handler hello_world.server/handler |
15 | |
16 | ;; To be able to open files in your editor from the heads up display |
17 | ;; you will need to put a script on your path. This script will have |
18 | ;; to take a file path and a line number ie. |
19 | ;; in ~/bin/myfile-opener: |
20 | ;; |
21 | ;; #! /bin/sh |
22 | ;; emacsclient -n +$2:$3 $1 |
23 | ;; |
24 | ;; :open-file-command "myfile-opener" |
25 | |
26 | ;; if you are using emacsclient you can just use |
27 | ;; :open-file-command "emacsclient" |
28 | |
29 | ;; Logging output gets printed to the REPL, if you want to redirect it to a file: |
30 | ;; :log-file "figwheel-main.log" |
31 | } |
32 |
Built with git-ssb-web