Skip to content

Commit 718b7ce

Browse files
committed
Update docs about bottle template caching
I spent quite some time while I finally found the reason, why Bottle templates won't auto reload. I thing this should be mentioned in the docs.
1 parent b64faf9 commit 718b7ce

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

README.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,10 @@ Wrap the ``Bottle`` app with livereload server:
194194

195195
.. code:: python
196196
197+
# Without this line templates won't auto reload because of caching.
198+
# http://bottlepy.org/docs/dev/tutorial.html#templates
199+
bottle.debug(True)
200+
197201
app = Bottle()
198202
server = Server(app)
199203
# server.watch

0 commit comments

Comments
 (0)