Guardfile 230 B

123456
  1. #!/usr/bin/env python
  2. from livereload.task import Task
  3. from livereload.compiler import shell
  4. for path in ['conf.py', 'files/', 'galleries/', 'plugins/', 'posts/', 'stories/', 'themes/']:
  5. Task.add(path, shell('nikola build'))