Ticket #293 (closed defect: fixed)

Opened 3 years ago

Last modified 18 months ago

--reload does not work with --daemon

Reported by: gwar9999 Owned by: ianb
Priority: normal Milestone: 1.4.2
Component: paste Version: svn-trunk
Severity: normal Keywords:
Cc:

Description

When using the --reload arg (w/o --daemon) changed modules force Paste to reload. Additionally, the console informs of this event. Perfect.

However, when adding the --daemon flag, changed modules do not cause Paste to reload nor is there any mention in the --log-file. It appears that --daemon ignores --reload.

I'm using pylons 0.9.6 with Paste 1.4.2 but I don't see that this issue has been fixed in newer Paste releases.

Change History

Changed 3 years ago by iElectric

Some issue here (it does print console msg though).

Changed 3 years ago by ianb

Note that the server is actually in PasteScript?, not Paste itself. I thought PasteScript? 1.6 fixed this (at least, it fixed some other --daemon/--monitor interactions, which are similar to --reload). If you could confirm with the newest version of PasteScript? that would be helpful.

(Generally --daemon plus --reload isn't a great combination, though, as --reload is CPU expensive and not good for production)

Changed 3 years ago by iElectric

Using svn trunk, bug confirmed.

Changed 2 years ago by Peter Rust <peter@…>

Bug confirmed in the latest version.

Since it's not recommended, it would probably be sufficient to document the behavior in the serve documentation: paster serve --help

Changed 18 months ago by ianb

  • status changed from new to closed
  • resolution set to fixed

Error message introduced in 423:717c359c3874

Note: See TracTickets for help on using tickets.