Use Jekyll.logger for --watch error message.
This commit is contained in:
parent
81ff5ed7aa
commit
2d040c1aaa
|
|
@ -80,8 +80,8 @@ module Jekyll
|
||||||
puts "...done."
|
puts "...done."
|
||||||
rescue => e
|
rescue => e
|
||||||
puts "...error:"
|
puts "...error:"
|
||||||
puts e.message
|
Jekyll.logger.warn "Error:", e.message
|
||||||
puts "Run jekyll build --trace for more information."
|
Jekyll.logger.warn "Error:", "Run jekyll build --trace for more information."
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
listener.start
|
listener.start
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue