mirror of
https://github.com/bigchaindb/site.git
synced 2024-11-25 03:03:16 +01:00
commit
8422c87b25
@ -34,7 +34,8 @@ module Jekyll
|
||||
doc.data['image'] = image
|
||||
jekyll_items.docs << doc
|
||||
end
|
||||
|
||||
rescue
|
||||
puts "Could not parse blog feed. Are you offline?"
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -125,7 +125,13 @@ export const jekyll = (done) => {
|
||||
|
||||
const jekyll = cp.execFile('bundle', ['exec', jekyll_options], { stdio: 'inherit' })
|
||||
|
||||
jekyll.on('error', (error) => onError() ).on('close', done)
|
||||
const jekyllLogger = (buffer) => {
|
||||
buffer.toString()
|
||||
.split(/\n/)
|
||||
.forEach((message) => console.log(message))
|
||||
}
|
||||
|
||||
jekyll.stdout.on('data', jekyllLogger).on('close', done)
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user