From b4699cd741f22425b45cb7751f2c358f68ae6bb0 Mon Sep 17 00:00:00 2001 From: Thomas Reynolds Date: Mon, 31 Oct 2016 09:30:46 -0700 Subject: [PATCH] Poll source on path change --- middleman-core/lib/middleman-core/sources/source_watcher.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/middleman-core/lib/middleman-core/sources/source_watcher.rb b/middleman-core/lib/middleman-core/sources/source_watcher.rb index b6d8b28a..8e3a3550 100644 --- a/middleman-core/lib/middleman-core/sources/source_watcher.rb +++ b/middleman-core/lib/middleman-core/sources/source_watcher.rb @@ -99,6 +99,8 @@ module Middleman without_listener_running do update([], @files.values.map { |source_file| source_file[:full_path] }) end + + poll_once! end def update_config(options={})