[ZDP] BackTalk to Document Zope Developer's Guide (2.4 edition)/Testing and Debugging

webmaster@zope.org webmaster@zope.org
Thu, 28 Nov 2002 11:39:25 -0500


A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZDG/current/TestingAndDebugging.stx#3-6

---------------

      To turn on product refresh capabilities place a 'refresh.txt'
      file in your product's directory. Then visit the *Refresh* view
      of your product in the management interface. Here you can
      manually reload your product's modules with the *Refresh this
      product* button. This allows you to immediately see the effect
      of your changes, without restarting Zope. You can also turn on
      automatic refreshing which causes Zope to frequently check for
      changes to your modules and refresh your product when it detects
      that your files have changed. Since automatic refresh causes
      Zope to run more slowly, it is a good idea to only turn it on
      for a few products at a time.

        % Anonymous User - Nov. 16, 2002 4:04 am:
         Does refresh.txt require any content, or is just the presence of the file enough to work the 'magic'?

        % Anonymous User - Nov. 16, 2002 4:04 am:
         And just how do you turn on (and off) automatic refreshing?

        % Anonymous User - Nov. 28, 2002 11:39 am:
         I just found the answer to your question here:
         http://www.zope.org/Members/dylanr/prod_tips

         It must be an empty file. Anyway, I agree that they should be more specific. About your second question, I
         also don't have any idea about how does it work.