-
Notifications
You must be signed in to change notification settings - Fork 17
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
Is there a program to update the database in real time for real time previews #45
Comments
@Ahidada we know exactly what you want - we need to add a watch function to rebuild. This is on our roadmap but is not there atm. You could hack this right now by running the rebuild script with a watch function on your content folder. |
@mohamedsalem401 could you put some info about how this was resolved and where it is documented ... |
@rufuspollock |
@mohamedsalem401 can we add something to README briefly about this functionality. |
@rufuspollock |
We want a way so that you can rebuild the database in real time so that we get real time previews.
Simplest approach is probably to use https://github.com/paulmillr/chokidar to watch the markdown folders and rebuild some json files (with these files being watched by nextjs or whatever tool you are using). this at least is a first pass.
This probably depends on the JSON output option.
Acceptance
The text was updated successfully, but these errors were encountered: