reload sections when they get modified
Didier Lafforgue
committed Apr 30, 2018
commit 998774e6265d9ba05e0b71361c38fc17f14f905d
Showing 1
changed file with
2 additions
and 2 deletions
locomotive/wagon/tools/listen.rb b/lib/locomotive/wagon/tools/listen.rb
+2
-2
| @@ | @@ -18,8 +18,8 @@ module Locomotive::Wagon |
| def definitions | |
| [ | |
| - | ['config', /\.yml/, [:site, :content_types, :pages, :snippets, :content_entries, :translations]], |
| - | ['app/views', %r{(pages|snippets)/(.+\.liquid).*}, [:pages, :snippets]], |
| + | ['config', /\.yml/, [:site, :content_types, :pages, :snippets, :sections, :content_entries, :translations]], |
| + | ['app/views', %r{(pages|snippets|sections)/(.+\.liquid).*}, [:pages, :snippets, :sections]], |
| ['app/content_types', /\.yml/, [:content_types, :content_entries]], | |
| ['data', /\.yml/, :content_entries], | |
| ['public', %r{((stylesheets|javascripts)/(.+\.(css|js))).*}, []] | |