Yes, this is expected, because enlive loads and processes the html file
when deftemplate is evaluated.

I personally haven't found it to be a huge deal as when I'm using Om, the
index.html changes very infrequently, so I just reload server.clj the few
times it does.


On 1 May 2014 07:57, Juan Manuel Gimeno Illa <[email protected]> wrote:

> Thanks for this wonderful template. One problem I'm having with it is that
> when I modify the index.html page, as enlive templates are not reloaded, I
> have to manually do a (require 'ring.server :reload).
>
> Is it normal?  Am I doing somethong wrong?
>
> BTW, I'm working in substituting the template machinery of injecting the
> script payload into the page by using  hickory and adding the script every
> time the page is reloaded. It almost works but sometimes austin throws a
> broken pipe exception.
>
> Juan Manuel
>
> --
> Note that posts from new members are moderated - please be patient with
> your first post.
> ---
> You received this message because you are subscribed to the Google Groups
> "ClojureScript" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/clojurescript.
>

-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/clojurescript.

Reply via email to