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/pyr
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 s
At the point that make_wsgi_app() is called is the last time that Pyramid
Framework code is run before it gets its first request, when you are being
wrapped that is handled at later stages, Pyramid doesn’t know about those
wrappers, nor could it possibly know when the appropriate time would be t
On Tue, Dec 9, 2014 at 11:21 AM, Simon King wrote:
>
> I think this was done for Python 3 compatibility:
>
> http://docs.pylonsproject.org/projects/pyramid/en/latest/whatsnew-1.3.html#the-paster-command-has-been-replaced
Nice find. Thank you.
Regards,
Piotr
--
You received this message becaus
On Tue, Dec 9, 2014 at 9:56 AM, Piotr Dobrogost
wrote:
> Hi!
>
> Pyramid uses PasteDeploy to support running web application and web server
> configured in .ini file but it brings its own pserve command which replaces
> paster script from PasteScript package.
> I'm wondering why did Pyramid choose
Hi!
Pyramid uses PasteDeploy to support running web application and web server
configured in .ini file but it brings its own pserve command which replaces
paster script from PasteScript package.
I'm wondering why did Pyramid choose to use PasteDeploy but at the same
time chose not to use PasteS
Hi!
I would like to be able to run some initialization code just after
application is fully created and ready to serve requests. I found
ApplicationCreated signal but it's being emitted too early for my needs as
after calling pyramid_configurator.make_wsgi_app() in middleware.py the app
object