1. Michael Merickel
  2. PasteScript

Commits

kevin  committed 0085a4d

another use of requires_config_file

  • Participants
  • Parent commits 9371a33
  • Branches default

Comments (0)

Files changed (1)

File paste/script/serve.py

View file
                 if self.verbose > 1:
                     print 'Running reloading file monitor'
                 reloader.install(int(self.options.reload_interval))
-                reloader.watch_file(self.args[0])
+                if self.requires_config_file:
+                    reloader.watch_file(self.args[0])
             else:
                 return self.restart_with_reloader()