Fix yesterday's bone-headed commit

feature/livereload-locales-data
Thomas Reynolds 2015-12-09 17:03:55 -08:00
parent cb6e8bcd95
commit 9b0b82c00b
1 changed files with 3 additions and 2 deletions

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