Fork me on GitHub
#luminus
<
2017-07-13
>
donyorm12:07:45

Is there anyway to easily debug selmer? While I'm creating a lein template I'm getting an error (`unrecongized tag ":endsafe"`) but it doesn't give me any information on the name of the file or anything like that.

donyorm12:07:19

I tried running the render in the repl, but that seemed to keep throwing errors or simply not work. I guess lein saves some state during asset rendering.

yogthos13:07:20

yeah you just have to run (selmer.parser/cache-off!) to turn off caching

yogthos13:07:42

luminus template sets this in the defaults in env/dev/clj/<appname>/env.clj:

yogthos13:07:24

the defaults are loaded in the handler namespace:

(mount/defstate init-app
                :start ((or (:init defaults) identity))
                :stop  ((or (:stop defaults) identity)))