Skip to content

Commit 61b57a2

Browse files
authored
Merge pull request #164 from sirex/bottle-docs-update
Update docs about bottle template caching
2 parents b64faf9 + 718b7ce commit 61b57a2

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)