lib/jekyll-bower.rb in jekyll-bower-1.1.3 vs lib/jekyll-bower.rb in jekyll-bower-1.1.4
- old
+ new
@@ -5,7 +5,11 @@
# Register Jekyll Site Post Read hook of Bower plugin
Jekyll::Hooks.register :site, :after_init do |jekyll| # jekyll here acts as site global object
JekyllBower = Jekyll::Bower.new()
JekyllBower.resolve(jekyll)
+ puts "Reading newly generated bower components"
+ jekyll.reset()
+ jekyll.setup()
+ jekyll.read()
puts "Looks like everything is ready"
end
\ No newline at end of file