Fix yesterday's bone-headed commit
This commit is contained in:
parent
cb6e8bcd95
commit
9b0b82c00b
|
@ -19,10 +19,11 @@ class Middleman::Extensions::ExternalPipeline < ::Middleman::Extension
|
||||||
def ready
|
def ready
|
||||||
logger.info "== Executing: `#{options[:command]}`"
|
logger.info "== Executing: `#{options[:command]}`"
|
||||||
|
|
||||||
watch_command!
|
|
||||||
@watcher.poll_once!
|
@watcher.poll_once!
|
||||||
|
|
||||||
if !app.build?
|
if app.build?
|
||||||
|
watch_command!
|
||||||
|
else
|
||||||
::Thread.new { watch_command! }
|
::Thread.new { watch_command! }
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue