Closed pyb closed 6 years ago
Fixed by running lein cljsbuild once
before lein run
The proper way to compile ClojureScript in development is to run lein figwheel
in a separate terminal. The lein run
command compiles server side code, while Figwheel hotloads changes for the front-end.
I have tested this with the sample trivial project shipped with the template.
lein run
does not create the file js/app.js, which means I get theClojureScript has not been compiled!
message.However,
lein uberjar
works as intended.