Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Template require is not reloaded in watch mode #540

Open
ggrossetie opened this issue Aug 1, 2021 Discussed in #484 · 0 comments
Open

Template require is not reloaded in watch mode #540

ggrossetie opened this issue Aug 1, 2021 Discussed in #484 · 0 comments

Comments

@ggrossetie
Copy link
Owner

Discussed in #484

Originally posted by wh81752 May 11, 2021
I use options -w (watch) and --preview as shown below:

$ asciidoctor-web-pdf -w --preview --template-require ./doc.js doc.adoc
Watch mode entered, needs to be manually terminated using Ctrl+C!

Now, when I change doc.adoc then my changes are reflected in Chromium opened by --preview. That is expected.

However, my (structural) changes to doc.js are not taken into account. So whenever I change doc.js I need to terminate process above and restart again.

Is that expected behaviour or do I miss something?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant