From a264035ae92c4284d3f9b4164008df17874ac7cb Mon Sep 17 00:00:00 2001 From: Weston Ganger Date: Tue, 9 Jul 2019 15:27:30 -0700 Subject: [PATCH] Add reload support for config/custom_field_types/*.json --- lib/locomotive/wagon/tools/listen.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/locomotive/wagon/tools/listen.rb b/lib/locomotive/wagon/tools/listen.rb index 886e701e..4ab7bbef 100644 --- a/lib/locomotive/wagon/tools/listen.rb +++ b/lib/locomotive/wagon/tools/listen.rb @@ -27,6 +27,7 @@ def apply_definitions def definitions [ ['config', /\.yml/, [:site, :content_types, :pages, :snippets, :sections, :content_entries, :translations]], + ['config/custom_field_types', /\.json/, [:site, :content_types, :pages, :sections]], ['app/views', %r{(pages|snippets|sections)/(.+\.liquid).*}, [:pages, :snippets, :sections]], ['app/content_types', /\.yml/, [:content_types, :content_entries]], ['data', /\.(yml|json)/, [:pages, :content_entries]],