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

nfs mount point file change does not trigger a re-render of mdbook content #1707

Closed
omac777 opened this issue Dec 16, 2021 · 3 comments · Fixed by #2325
Closed

nfs mount point file change does not trigger a re-render of mdbook content #1707

omac777 opened this issue Dec 16, 2021 · 3 comments · Fixed by #2325
Labels
Command-serve Command: serve Command-watch Command: watch

Comments

@omac777
Copy link

omac777 commented Dec 16, 2021

I am running an mdbook server on a machine let's call abbott.

The mdbook contents mystuff are located on an nfs mountpoint let's call frankenstein.

I go to another machine costello and edit /mnt/frankenstein/mystuff/src/ch01-blah.md and save the changes.

BUG: The mdbook server didn't re-render the saved /mnt/frankenstein/mystuff/src/ch01-blah.md file.

EXPECTATIONS: I was expecting the mdbook server to re-render it so that I can view the changes in the web browser.

@wez
Copy link

wez commented Dec 18, 2021

Sorry to say that this will never work in a scalable fashion: there is no provision in NFS for broadcasting change events to clients which means that the only way to get close to something like this would be to build logic that continually walks the full directory structure to poll for changes in a busy loop; that would keep both the client and the server busy and put additional load on the network. It's not a very desirable outcome.

@omac777
Copy link
Author

omac777 commented Dec 20, 2021 via email

@wez
Copy link

wez commented Dec 20, 2021

FWIW, I'm not a maintainer of this project, just an interested user who happens to have experience with file change notification systems reviewing the open issues.

@ehuss ehuss added the Command-serve Command: serve label Jun 1, 2022
@ehuss ehuss added the Command-watch Command: watch label Aug 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Command-serve Command: serve Command-watch Command: watch
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants