That project is unmaintained. Can you try the one described here instead?
(That issue provides more context about the current state of affairs).
-Dan
On Sat, Jul 27, 2019 at 8:31 AM asciidoctorwriter [via Asciidoctor :: Discussion] <
[hidden email]> wrote:
Hi there. I want to detect asciidoc file changes automatically and make them converted to html file. I followed https://github.com/asciidoctor/guard-asciidoc/blob/master/README.asciidoc guide. There are no error messages after running "bundle exec guard" and when I change and save files on visual studio code guard cannot detect the changes and update html file.
I am pretty sure asciidoctor file is changed I also checked with notepad.
https://github.com/asciidoctor/guard-asciidoc
Gemfile
source 'https://rubygems.org'
gem 'wdm', '>= 0.1.0' if Gem.win_platform?
gem 'guard'
gem 'guard-shell'
gem 'asciidoctor'
Guardfile
guard :asciidoctor
Output
E:\Notes>bundle install
Using asciidoctor 2.0.10
Using bundler 2.0.2
Using coderay 1.1.2
Using ffi 1.11.1 (x64-mingw32)
Using formatador 0.2.5
Using rb-fsevent 0.10.3
Using rb-inotify 0.10.0
Using ruby_dep 1.5.0
Using listen 3.1.5
Using lumberjack 1.0.13
Using nenv 0.3.0
Using shellany 0.0.1
Using notiffany 0.1.1
Using method_source 0.9.2
Using pry 0.12.2
Using thor 0.20.3
Using guard 2.15.0
Using guard-compat 1.2.1
Using guard-shell 0.7.1
Using wdm 0.1.1
Bundle complete! 4 Gemfile dependencies, 20 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
E:\Notes>bundle exec guard
17:24:13 - INFO - Run 'gem install win32console' to use color on Windows
[1] guard(main)> Guard is now watching at 'E:/Notes'
I also tried the following guide and similar output.
How should I fix it? Maybe I misunderstand the how the guard works.
--