lib/octopress-ink.rb in octopress-ink-1.0.0.rc.54 vs lib/octopress-ink.rb in octopress-ink-1.0.0.rc.55
- old
+ new
@@ -95,10 +95,16 @@
def add_docs(options={})
Docs.register_docs options
end
+ def watch_assets(site)
+ if site.config['ink_watch']
+ require 'octopress-ink/watch'
+ end
+ end
+
def config
@config ||= Configuration.config
end
def plugins
@@ -107,10 +113,9 @@
def plugin(name)
begin
Plugins.plugin(name)
rescue
- return false
end
end
# Prints a list of plugins and details
#