Skip to content

Commit

Permalink
Fix for #25
Browse files Browse the repository at this point in the history
  • Loading branch information
tjwalch committed May 21, 2018
1 parent 536052f commit 7ce366f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion livereload/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""django-livereload"""
__version__ = '0.3.1'
__version__ = '0.3.2'
__license__ = 'BSD License'

__author__ = 'Tomas Walch'
Expand Down
3 changes: 2 additions & 1 deletion livereload/management/commands/livereload.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ def handle(self, *args, **options):
if options['ignore-template-dirs'] is not True:
watch_dirs.extend(getattr(settings, 'TEMPLATE_DIRS', []))
for template in getattr(settings, 'TEMPLATES', []):
watch_dirs.extend(template['DIRS'])
if 'DIRS' in template:
watch_dirs.extend(template['DIRS'])
watch_dirs.extend([os.path.join(app_config.path, 'templates')
for app_config in app_configs])

Expand Down

0 comments on commit 7ce366f

Please sign in to comment.