From 2f644cada6887480da1e264928d9980b0f9c1d97 Mon Sep 17 00:00:00 2001 From: Chris Shenton Date: Mon, 7 Nov 2011 17:36:16 -0800 Subject: We don't yet have mechanism to specify other files to monitor. So comment out the checks for the nonexistent requires_config_file. Server still runs and monitors our file changes. --- pyramid/scripts/pserve.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyramid/scripts/pserve.py b/pyramid/scripts/pserve.py index a2eded80a..c6e8f0374 100644 --- a/pyramid/scripts/pserve.py +++ b/pyramid/scripts/pserve.py @@ -173,8 +173,8 @@ class PServeCommand(object): if self.verbose > 1: self.out('Running reloading file monitor') install_reloader(int(self.options.reload_interval)) - if self.requires_config_file: - watch_file(self.args[0]) + # if self.requires_config_file: + # watch_file(self.args[0]) else: return self.restart_with_reloader() -- cgit v1.2.3