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

quartz build --serve does not update explorer with folder / new notes #1077

Open
ckpearson opened this issue Apr 9, 2024 · 2 comments
Open
Labels
bug Something isn't working

Comments

@ckpearson
Copy link

Describe the bug
When the site is hosted and being watched with npx quartz build --serve the explorer does not update with the amended structure.
To Reproduce
Steps to reproduce the behavior:

  1. Start serving the site with npx quartz build --serve
  2. Add a new folder / new markdown file / remove etc etc
  3. The terminal updates as if it's detected changes (and in fact you can navigate to the page manually via URL)
  4. The structural changes are not reflected in the explorer - even with refreshes, you have to either make a change to the typescript or restart the serving

Expected behavior
I'd expect any changes I make to be reflected.

Desktop (please complete the following information):

  • Quartz Version: 4.2.3
  • node Version: v20.11.0
  • npm version: 10.5.0
  • OS: macOS Sonoma 14.4
  • Browser: Safari & Chrome
@ckpearson ckpearson added the bug Something isn't working label Apr 9, 2024
@donovanglover
Copy link

Facing the same issue with NixOS and Firefox-based browsers. Has anyone found the relevant code to edit?

@ckpearson
Copy link
Author

@donovanglover I'm unclear, however I've noticed the same behaviour happens with the full text search, which seems to behave very oddly under --serve. My (guess) is that there's something that skips over a bunch of things during a --serve rebuild in order to be as responsive as possible, as everything is as I expect it to be after running a regular build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants