-
Notifications
You must be signed in to change notification settings - Fork 95
Docker on Windows: auto-reload not working #340
Copy link
Copy link
Closed
Labels
bugIssue reports a bugIssue reports a bugresolvedIssue is resolved, yet unreleased if openIssue is resolved, yet unreleased if open
Description
Context
I would like to try Zensical; however, the serve mode isn't working.
No live preview of changes with serve.
Version
Current version of the image is 0.0.21
Problem
When running the Zensical documentation site via Docker, content changes in Markdown files are not reflected in the browser. The site keeps showing the old content until the container is restarted.
Steps to reproduce
- Initialize a new project:
docker run --rm -it -p 8000:8000 -v .:/docs zensical/zensical new - Start the server:
docker run --rm -it -p 8000:8000 -v .:/docs zensical/zensical - Open a browser and navigate to
http://localhost:8000to verify the site is running. - Open the project directory and edit content in
index.mdormarkdown.md. - Reload the page in the browser.
Expected behavior
After saving changes to index.md / markdown.md, reloading the page should show the updated content (live reload or at least a rebuild triggered by file changes).
Actual behavior
Changes are not visible after reload; the browser continues to show the previous content. Only restarting the container causes the content to rebuild and updates to appear.
_
Browser
Chrome
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugIssue reports a bugIssue reports a bugresolvedIssue is resolved, yet unreleased if openIssue is resolved, yet unreleased if open