Skip to content

Instantly share code, notes, and snippets.

@mojavelinux
Last active September 12, 2016 14:24
Show Gist options
  • Save mojavelinux/5546622 to your computer and use it in GitHub Desktop.
Save mojavelinux/5546622 to your computer and use it in GitHub Desktop.
Guard AsciiDoc and LiveReload minimal setup
$ bundle install
$ guard start
source 'https://rubygems.org'
gem 'asciidoctor'
gem 'guard-asciidoc', :github => 'asciidoctor/guard-asciidoc'
gem 'guard-livereload'
gem 'rb-inotify', '~> 0.9.0'
guard :asciidoc
guard :livereload do
watch /^.+\.(?:html|js|css)$/
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment