Re: [pylons-devel] Adding custom files to be watched by pserve --reload

2014-12-10 Thread Piotr Dobrogost
On Tue, Dec 9, 2014 at 8:15 PM, Michael Merickel mmeri...@gmail.com wrote:
 pyramid.scripts.pserve.watch_file and
 pyramid.scripts.pserve.add_file_callback exist for this purpose.
 Unfortunately it doesn't look like they are in the docs atm but I
 think you can expect them to stick around. See
 https://github.com/Pylons/pyramid/blob/cc15bbf7de74f4cdfc676e34fa429d2658d1ddf6/pyramid/scripts/pserve.py#L767-L776
 for more info.


Thank you for answer and information.

Regards,
Piotr

-- 
You received this message because you are subscribed to the Google Groups 
pylons-devel group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to pylons-devel+unsubscr...@googlegroups.com.
To post to this group, send email to pylons-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/pylons-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [pylons-devel] Adding custom files to be watched by pserve --reload

2014-12-09 Thread Michael Merickel
pyramid.scripts.pserve.watch_file and
pyramid.scripts.pserve.add_file_callback exist for this purpose.
Unfortunately it doesn't look like they are in the docs atm but I
think you can expect them to stick around. See
https://github.com/Pylons/pyramid/blob/cc15bbf7de74f4cdfc676e34fa429d2658d1ddf6/pyramid/scripts/pserve.py#L767-L776
for more info.

On Tue, Dec 9, 2014 at 12:35 PM, Piotr Dobrogost
p...@google-groups-2014.dobrogost.net wrote:
 Hi!

 I've been using paste.reloader.watch_file() function
 (http://pythonpaste.org/modules/reloader.html) to add custom config files to
 be watched for changes during development.
 Is something like this possible in Pyramid?


 Regards,
 Piotr Dobrogost

 --
 You received this message because you are subscribed to the Google Groups
 pylons-devel group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to pylons-devel+unsubscr...@googlegroups.com.
 To post to this group, send email to pylons-devel@googlegroups.com.
 Visit this group at http://groups.google.com/group/pylons-devel.
 For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
pylons-devel group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to pylons-devel+unsubscr...@googlegroups.com.
To post to this group, send email to pylons-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/pylons-devel.
For more options, visit https://groups.google.com/d/optout.