-
Notifications
You must be signed in to change notification settings - Fork 142
Open
Description
Is your request related to a problem?
markbind serve -o allows serving a single page from a site quickly without building the whole site, and rebuilds the page whenever its dependencies change. It also allows for on-demand building of other pages when navigated to.
Issues:
- Still some amount of time spent observing the spinning
logowheel 🤔 - Author cannot 'develop on multiple tabs', because only the last visited page is tracked for dependency changes.
- Search results are only available for the pages that are built, and may be outdated for some pages.
Describe the solution you'd like
Some ideas:
-
Maintain a most-recently-visited list of pages instead of just tracking the last visited pageTrack all opened pages in browser according to last visited (Lazy serve: Track opened pages for dependency changes #1513), then rebuild these pages in order of most-recent when any of their dependencies change - Page removals / additions - apply the same idea of lazy building (no new pages should ever need to be built in which case, but, flagged for building when visited later) (pages may need to rebuilt however (missing page-dependencies-turned-non-missing)
- Background building / rebuilding of pages not in this most-recently-visited list, allowing search results to be gradually populated
- Maybe with these enhancements, we can make markbind s -o the default behaviour
Additional context
Original issue: #1007
Reactions are currently unavailable