Re: [Paste] Reload only on config change.

Top Page
Author: Ian Bicking
Date:  
To: Ruud Burger
CC: Paste Users
Subject: Re: [Paste] Reload only on config change.
On Fri, Jun 25, 2010 at 7:00 AM, Ruud Burger <ruud@???> wrote:

> Is there a way to do "paster serve --reload" only for 1 file?
> When I save some settings in my ini file, I want to restart the app.
>


There isn't, but if you use "paster serve --monitor" then paste will restart
your application whenever it dies with a non-zero exit code, so you can
implement your own watcher and just run sys.exit(1) to do a restart.


-- 
Ian Bicking  |  http://blog.ianbicking.org

-- 
You received this message because you are subscribed to the Google Groups "Paste Users" group.
To post to this group, send email to paste-users@???.
To unsubscribe from this group, send email to paste-users+unsubscribe@???.
For more options, visit this group at http://groups.google.com/group/paste-users?hl=en.