Closed hferentschik closed 8 years ago
@budhrg did you have a chance to try this. I'd like to merge this asap
@hferentschik It is not working efficiently for me. I need to reload the page to get updated content.
It is not working efficiently for me. I need to reload the page to get updated content.
What the pull request is about, is the ability to rebuild on each change. A automatic reload via "LiveReload" is just the icing on the cake. Whether it will work will depend on your browser and plugin version. Do you have "LiveReload" installed? Do you see that Guard reports that the browser is connected?
@budhrg I pushed an update with the typo fixes
@hferentschik Here is the log,
➜ vagrant-service-manager git:(hardy-fix-346) ✗ bundle exec guard
17:49:13 - INFO - Starting guard-rake html
17:49:13 - INFO - running html
asciidoctor: WARNING: README.adoc: line 51: list item index: expected 2, got 1
asciidoctor: WARNING: README.adoc: line 60: list item index: expected 3, got 1
asciidoctor: WARNING: README.adoc: line 71: list item index: expected 4, got 1
asciidoctor: WARNING: README.adoc: line 187: list item index: expected 2, got 1
asciidoctor: WARNING: README.adoc: line 193: list item index: expected 3, got 1
17:49:13 - INFO - LiveReload is waiting for a browser to connect.
17:49:13 - INFO - Guard is now watching at '/home/budhram/redhat/vagrant-service-manager'
[1] guard(main)>
17:49:17 - INFO - Run all
17:49:17 - INFO - running html
asciidoctor: WARNING: README.adoc: line 51: list item index: expected 2, got 1
asciidoctor: WARNING: README.adoc: line 60: list item index: expected 3, got 1
asciidoctor: WARNING: README.adoc: line 71: list item index: expected 4, got 1
asciidoctor: WARNING: README.adoc: line 187: list item index: expected 2, got 1
asciidoctor: WARNING: README.adoc: line 193: list item index: expected 3, got 1
[1] guard(main)>
17:49:18 - INFO - Run all
17:49:18 - INFO - running html
asciidoctor: WARNING: README.adoc: line 51: list item index: expected 2, got 1
asciidoctor: WARNING: README.adoc: line 60: list item index: expected 3, got 1
asciidoctor: WARNING: README.adoc: line 71: list item index: expected 4, got 1
asciidoctor: WARNING: README.adoc: line 187: list item index: expected 2, got 1
asciidoctor: WARNING: README.adoc: line 193: list item index: expected 3, got 1
17:49:18 - INFO - Reloading browser: build/html/CHANGELOG.html build/html/CONTRIBUTING.html build/html/README.html build/html/commands.html
17:49:18 - INFO - Reloading browser: build/html/CHANGELOG.html build/html/CONTRIBUTING.html build/html/README.html build/html/commands.html
17:49:32 - INFO - running html
asciidoctor: WARNING: README.adoc: line 51: list item index: expected 2, got 1
asciidoctor: WARNING: README.adoc: line 60: list item index: expected 3, got 1
asciidoctor: WARNING: README.adoc: line 71: list item index: expected 4, got 1
asciidoctor: WARNING: README.adoc: line 187: list item index: expected 2, got 1
asciidoctor: WARNING: README.adoc: line 193: list item index: expected 3, got 1
17:49:33 - INFO - Reloading browser: build/html/CHANGELOG.html build/html/CONTRIBUTING.html build/html/README.html build/html/commands.html
Here is the log,
So what's the issue? Are you talking about the Warnings? It seems to rebuild on changes, right and it even seems to be connected to the browser. So what is the problem?
So what is the problem?
It seems that rebuilding this is working fine. The issue is only with live-reload which is not working properly for me. I need to reload the browser to see the updated changes.
It seems that rebuilding this is working fine. The issue is only with live-reload which is not working properly for me. I need to reload the browser to see the updated changes.
Do you have the plugin installed? Does it connect to Guard? Do you enable it for the page you are viewing?
LGTM :+1:
and enabling Guard and Live Reload
Addresses issue #346