Originally posted by **wh81752** May 11, 2021
I use options -w (watch) and --preview as shown below:
```console
$ 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?
Discussed in https://github.com/Mogztter/asciidoctor-web-pdf/discussions/484