Re: Guard + LiveReload + CSS
Posted by snowolfe on
URL: https://discuss.asciidoctor.org/Guard-LiveReload-CSS-tp676p679.html
I think you should be able to add the linkcss option to solve your problem:
guard 'shell' do
watch(/^mydoc\.adoc$/) {|m|
Asciidoctor.render_file(m[0], {:in_place => true, :linkcss => true})
}
end
NOTE: I haven't tried this and I am not 100% on the syntax - educated guess :)