1
0
Fork 0
docsearch/docs/Guardfile

20 lines
448 B
Ruby

guard 'jekyll-plus', :serve => true do
watch /.*/
ignore /^_site/
end
guard 'livereload', port: '35731' do
watch /^.*/
end
guard :bundler do
require 'guard/bundler'
require 'guard/bundler/verify'
helper = Guard::Bundler::Verify.new
files = ['Gemfile']
files += Dir['*.gemspec'] if files.any? { |f| helper.uses_gemspec?(f) }
# Assume files are symlinked from somewhere
files.each { |file| watch(helper.real_path(file)) }
end