You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 17, 2020. It is now read-only.
In some projects, I like to have the documentation inside the project (next to the source code), as well as the built output of the documentation (let say you want to publish your doc using Github pages for example, you could build it inside your project).
Then I would build or watch the stylemark doc like so: stylemark -i . -o ./build/doc -c ./doc/_config.yml -w -b
Note that for such projects, the documentation lives inside source code as well as in some dedicated markdown files (and that's why stylemark input is set to .).
But when watching for file changes, the filewatcher sees file changes when stylemark update the content of /build/doc/ — and thus triggering an infinite loop, the doc getting built over and over again.
It would be great to have a proper way to prevent some folders from being watched to prevent such problems.
The text was updated successfully, but these errors were encountered:
tlhuillier
changed the title
Inability to ignore folders from being watched
Inability to prevent folders from being watched
Mar 6, 2019
In some projects, I like to have the documentation inside the project (next to the source code), as well as the built output of the documentation (let say you want to publish your doc using Github pages for example, you could build it inside your project).
A project like this is structured like so:
Then I would build or watch the stylemark doc like so:
stylemark -i . -o ./build/doc -c ./doc/_config.yml -w -b
Note that for such projects, the documentation lives inside source code as well as in some dedicated markdown files (and that's why stylemark
input
is set to.
).But when watching for file changes, the filewatcher sees file changes when stylemark update the content of
/build/doc/
— and thus triggering an infinite loop, the doc getting built over and over again.It would be great to have a proper way to prevent some folders from being watched to prevent such problems.
The text was updated successfully, but these errors were encountered: