Fix yesterday's bone-headed commit

This commit is contained in:
Thomas Reynolds 2015-12-09 17:03:55 -08:00
parent cb6e8bcd95
commit 9b0b82c00b

View file

@ -19,10 +19,11 @@ class Middleman::Extensions::ExternalPipeline < ::Middleman::Extension
def ready
logger.info "== Executing: `#{options[:command]}`"
watch_command!
@watcher.poll_once!
if !app.build?
if app.build?
watch_command!
else
::Thread.new { watch_command! }
end
end