Merge pull request #239 from bigchaindb/fix/232

Fix local development
This commit is contained in:
Matthias Kretschmann 2018-05-22 14:45:49 +02:00 committed by GitHub
commit 8422c87b25
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 20 additions and 13 deletions

View File

@ -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

View File

@ -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)
}