On Fri, Nov 15, 2013 at 1:32 PM, charettes <[email protected]> wrote:

> Hi Nikolay,
>
> You could implement such a feature as a third party app by connecting a
> receiver to the 
> template_rendered<https://docs.djangoproject.com/en/1.6/ref/signals/#template-rendered>signal.
>

To do a live reload the tool need to know when the template in filesystem
is updated, then using template_rendered will not help because need to make
a request and the live reload is to automatically do that request when some
file is updated.

I don't know if will be possible to add that to django itself, but I think
that using some tool like watchdog [1] could help doing that.

Other idea is to override the development server command to monitor the
changes to templates files.

[1] https://pypi.python.org/pypi/watchdog

-- 
Elyézer Rezende
http://elyezer.com

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers" 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/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/CAFsoaZsTAn3AVt3oL9gfwMOJGHHU61fhhSn8%3D0BiY%3DZ%3DWzmMMQ%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to