Configuration file question

Dev Erik <[email protected]>
Newsgroups gmane.comp.python.cherrypy
Message-ID <[email protected]>
I am able to get the engine to automatically restart whenever I modify a 
certain file by adding the following code to my application file:

cherrypy.engine.autoreload.files.add('templates/index.html')

The documentation seems to indicate I can put the above into a 
configuration file under [global] scope which I did in the following code:


[global]server.socket_port: 80server.socket_host: '0.0.0.0'
#Why doesn't this work?engine.autoreload.files.add: 
'../templates/index.html'
It does not work. (note the other configuration options in the file do). 
What am I missing?

-- 
You received this message because you are subscribed to the Google Groups "cherrypy-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cherrypy-users+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
To post to this group, send email to cherrypy-users-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
Visit this group at https://groups.google.com/group/cherrypy-users.
For more options, visit https://groups.google.com/d/optout.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.